#D98EF5 Color

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

Color preview

#D98EF5

Color formats

HEX
#D98EF5
RGB
rgb(217, 142, 245)
RGBA
rgba(217, 142, 245, 1)
HSL
hsl(284, 84%, 76%)
HSV
hsv(284, 42%, 96%)
CMYK
cmyk(11%, 42%, 0%, 4%)
CSS variable
--color-primary: #D98EF5;
Lowercase HEX
#d98ef5

Shades

Tints

Tones

Harmony

CSS snippets for #D98EF5

.color-d98ef5 {
  color: #D98EF5;
  background-color: #D98EF5;
}

Frequently asked questions

What color is #D98EF5?+

#D98EF5 is a HEX color with RGB value rgb(217, 142, 245) and HSL value hsl(284, 84%, 76%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D98EF5?+

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