#A98CEF Color

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

Color preview

#A98CEF

Color formats

HEX
#A98CEF
RGB
rgb(169, 140, 239)
RGBA
rgba(169, 140, 239, 1)
HSL
hsl(258, 76%, 74%)
HSV
hsv(258, 41%, 94%)
CMYK
cmyk(29%, 41%, 0%, 6%)
CSS variable
--color-primary: #A98CEF;
Lowercase HEX
#a98cef

Shades

Tints

Tones

Harmony

CSS snippets for #A98CEF

.color-a98cef {
  color: #A98CEF;
  background-color: #A98CEF;
}

Frequently asked questions

What color is #A98CEF?+

#A98CEF is a HEX color with RGB value rgb(169, 140, 239) and HSL value hsl(258, 76%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A98CEF?+

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