#D98EF2 Color

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

Color preview

#D98EF2

Color formats

HEX
#D98EF2
RGB
rgb(217, 142, 242)
RGBA
rgba(217, 142, 242, 1)
HSL
hsl(285, 79%, 75%)
HSV
hsv(285, 41%, 95%)
CMYK
cmyk(10%, 41%, 0%, 5%)
CSS variable
--color-primary: #D98EF2;
Lowercase HEX
#d98ef2

Shades

Tints

Tones

Harmony

CSS snippets for #D98EF2

.color-d98ef2 {
  color: #D98EF2;
  background-color: #D98EF2;
}

Frequently asked questions

What color is #D98EF2?+

#D98EF2 is a HEX color with RGB value rgb(217, 142, 242) and HSL value hsl(285, 79%, 75%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D98EF2?+

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