#D878FA Color

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

Color preview

#D878FA

Color formats

HEX
#D878FA
RGB
rgb(216, 120, 250)
RGBA
rgba(216, 120, 250, 1)
HSL
hsl(284, 93%, 73%)
HSV
hsv(284, 52%, 98%)
CMYK
cmyk(14%, 52%, 0%, 2%)
CSS variable
--color-primary: #D878FA;
Lowercase HEX
#d878fa

Shades

Tints

Tones

Harmony

CSS snippets for #D878FA

.color-d878fa {
  color: #D878FA;
  background-color: #D878FA;
}

Frequently asked questions

What color is #D878FA?+

#D878FA is a HEX color with RGB value rgb(216, 120, 250) and HSL value hsl(284, 93%, 73%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D878FA?+

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