#D798FE Color

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

Color preview

#D798FE

Color formats

HEX
#D798FE
RGB
rgb(215, 152, 254)
RGBA
rgba(215, 152, 254, 1)
HSL
hsl(277, 98%, 80%)
HSV
hsv(277, 40%, 100%)
CMYK
cmyk(15%, 40%, 0%, 0%)
CSS variable
--color-primary: #D798FE;
Lowercase HEX
#d798fe

Shades

Tints

Tones

Harmony

CSS snippets for #D798FE

.color-d798fe {
  color: #D798FE;
  background-color: #D798FE;
}

Frequently asked questions

What color is #D798FE?+

#D798FE is a HEX color with RGB value rgb(215, 152, 254) and HSL value hsl(277, 98%, 80%). Its closest CSS named color is Plum.

What is the closest Tailwind color to #D798FE?+

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