#D98CEF Color

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

Color preview

#D98CEF

Color formats

HEX
#D98CEF
RGB
rgb(217, 140, 239)
RGBA
rgba(217, 140, 239, 1)
HSL
hsl(287, 76%, 74%)
HSV
hsv(287, 41%, 94%)
CMYK
cmyk(9%, 41%, 0%, 6%)
CSS variable
--color-primary: #D98CEF;
Lowercase HEX
#d98cef

Shades

Tints

Tones

Harmony

CSS snippets for #D98CEF

.color-d98cef {
  color: #D98CEF;
  background-color: #D98CEF;
}

Frequently asked questions

What color is #D98CEF?+

#D98CEF is a HEX color with RGB value rgb(217, 140, 239) and HSL value hsl(287, 76%, 74%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D98CEF?+

The closest Tailwind color is fuchsia-400, available as the bg-fuchsia-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