#D98AEF Color

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

Color preview

#D98AEF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D98AEF

.color-d98aef {
  color: #D98AEF;
  background-color: #D98AEF;
}

Frequently asked questions

What color is #D98AEF?+

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

What is the closest Tailwind color to #D98AEF?+

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