#D997ED Color

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

Color preview

#D997ED

Color formats

HEX
#D997ED
RGB
rgb(217, 151, 237)
RGBA
rgba(217, 151, 237, 1)
HSL
hsl(286, 70%, 76%)
HSV
hsv(286, 36%, 93%)
CMYK
cmyk(8%, 36%, 0%, 7%)
CSS variable
--color-primary: #D997ED;
Lowercase HEX
#d997ed

Shades

Tints

Tones

Harmony

CSS snippets for #D997ED

.color-d997ed {
  color: #D997ED;
  background-color: #D997ED;
}

Frequently asked questions

What color is #D997ED?+

#D997ED is a HEX color with RGB value rgb(217, 151, 237) and HSL value hsl(286, 70%, 76%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D997ED?+

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