#A298FB Color

Inspect #A298FB across formats, palettes, contrast and closest named color matches.

Color preview

#A298FB

Color formats

HEX
#A298FB
RGB
rgb(162, 152, 251)
RGBA
rgba(162, 152, 251, 1)
HSL
hsl(246, 93%, 79%)
HSV
hsv(246, 39%, 98%)
CMYK
cmyk(35%, 39%, 0%, 2%)
CSS variable
--color-primary: #A298FB;
Lowercase HEX
#a298fb

Shades

Tints

Tones

Harmony

CSS snippets for #A298FB

.color-a298fb {
  color: #A298FB;
  background-color: #A298FB;
}

Frequently asked questions

What color is #A298FB?+

#A298FB is a HEX color with RGB value rgb(162, 152, 251) and HSL value hsl(246, 93%, 79%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A298FB?+

The closest Tailwind color is violet-400, available as the bg-violet-400 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools