#D98FF2 Color

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

Color preview

#D98FF2

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D98FF2

.color-d98ff2 {
  color: #D98FF2;
  background-color: #D98FF2;
}

Frequently asked questions

What color is #D98FF2?+

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

What is the closest Tailwind color to #D98FF2?+

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