#D797EB Color

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

Color preview

#D797EB

Color formats

HEX
#D797EB
RGB
rgb(215, 151, 235)
RGBA
rgba(215, 151, 235, 1)
HSL
hsl(286, 68%, 76%)
HSV
hsv(286, 36%, 92%)
CMYK
cmyk(9%, 36%, 0%, 8%)
CSS variable
--color-primary: #D797EB;
Lowercase HEX
#d797eb

Shades

Tints

Tones

Harmony

CSS snippets for #D797EB

.color-d797eb {
  color: #D797EB;
  background-color: #D797EB;
}

Frequently asked questions

What color is #D797EB?+

#D797EB is a HEX color with RGB value rgb(215, 151, 235) and HSL value hsl(286, 68%, 76%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D797EB?+

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