#D798E2 Color

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

Color preview

#D798E2

Color formats

HEX
#D798E2
RGB
rgb(215, 152, 226)
RGBA
rgba(215, 152, 226, 1)
HSL
hsl(291, 56%, 74%)
HSV
hsv(291, 33%, 89%)
CMYK
cmyk(5%, 33%, 0%, 11%)
CSS variable
--color-primary: #D798E2;
Lowercase HEX
#d798e2

Shades

Tints

Tones

Harmony

CSS snippets for #D798E2

.color-d798e2 {
  color: #D798E2;
  background-color: #D798E2;
}

Frequently asked questions

What color is #D798E2?+

#D798E2 is a HEX color with RGB value rgb(215, 152, 226) and HSL value hsl(291, 56%, 74%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D798E2?+

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