#D797EC Color

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

Color preview

#D797EC

Color formats

HEX
#D797EC
RGB
rgb(215, 151, 236)
RGBA
rgba(215, 151, 236, 1)
HSL
hsl(285, 69%, 76%)
HSV
hsv(285, 36%, 93%)
CMYK
cmyk(9%, 36%, 0%, 7%)
CSS variable
--color-primary: #D797EC;
Lowercase HEX
#d797ec

Shades

Tints

Tones

Harmony

CSS snippets for #D797EC

.color-d797ec {
  color: #D797EC;
  background-color: #D797EC;
}

Frequently asked questions

What color is #D797EC?+

#D797EC is a HEX color with RGB value rgb(215, 151, 236) and HSL value hsl(285, 69%, 76%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D797EC?+

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