#D798EC Color

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

Color preview

#D798EC

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #D798EC

.color-d798ec {
  color: #D798EC;
  background-color: #D798EC;
}

Frequently asked questions

What color is #D798EC?+

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

What is the closest Tailwind color to #D798EC?+

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