#D98EF0 Color

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

Color preview

#D98EF0

Color formats

HEX
#D98EF0
RGB
rgb(217, 142, 240)
RGBA
rgba(217, 142, 240, 1)
HSL
hsl(286, 77%, 75%)
HSV
hsv(286, 41%, 94%)
CMYK
cmyk(10%, 41%, 0%, 6%)
CSS variable
--color-primary: #D98EF0;
Lowercase HEX
#d98ef0

Shades

Tints

Tones

Harmony

CSS snippets for #D98EF0

.color-d98ef0 {
  color: #D98EF0;
  background-color: #D98EF0;
}

Frequently asked questions

What color is #D98EF0?+

#D98EF0 is a HEX color with RGB value rgb(217, 142, 240) and HSL value hsl(286, 77%, 75%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D98EF0?+

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