#D998FE Color

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

Color preview

#D998FE

Color formats

HEX
#D998FE
RGB
rgb(217, 152, 254)
RGBA
rgba(217, 152, 254, 1)
HSL
hsl(278, 98%, 80%)
HSV
hsv(278, 40%, 100%)
CMYK
cmyk(15%, 40%, 0%, 0%)
CSS variable
--color-primary: #D998FE;
Lowercase HEX
#d998fe

Shades

Tints

Tones

Harmony

CSS snippets for #D998FE

.color-d998fe {
  color: #D998FE;
  background-color: #D998FE;
}

Frequently asked questions

What color is #D998FE?+

#D998FE is a HEX color with RGB value rgb(217, 152, 254) and HSL value hsl(278, 98%, 80%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D998FE?+

The closest Tailwind color is purple-300, available as the bg-purple-300 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