#D978F1 Color

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

Color preview

#D978F1

Color formats

HEX
#D978F1
RGB
rgb(217, 120, 241)
RGBA
rgba(217, 120, 241, 1)
HSL
hsl(288, 81%, 71%)
HSV
hsv(288, 50%, 95%)
CMYK
cmyk(10%, 50%, 0%, 5%)
CSS variable
--color-primary: #D978F1;
Lowercase HEX
#d978f1

Shades

Tints

Tones

Harmony

CSS snippets for #D978F1

.color-d978f1 {
  color: #D978F1;
  background-color: #D978F1;
}

Frequently asked questions

What color is #D978F1?+

#D978F1 is a HEX color with RGB value rgb(217, 120, 241) and HSL value hsl(288, 81%, 71%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D978F1?+

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