#D978FA Color

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

Color preview

#D978FA

Color formats

HEX
#D978FA
RGB
rgb(217, 120, 250)
RGBA
rgba(217, 120, 250, 1)
HSL
hsl(285, 93%, 73%)
HSV
hsv(285, 52%, 98%)
CMYK
cmyk(13%, 52%, 0%, 2%)
CSS variable
--color-primary: #D978FA;
Lowercase HEX
#d978fa

Shades

Tints

Tones

Harmony

CSS snippets for #D978FA

.color-d978fa {
  color: #D978FA;
  background-color: #D978FA;
}

Frequently asked questions

What color is #D978FA?+

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

What is the closest Tailwind color to #D978FA?+

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