#D978F7 Color

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

Color preview

#D978F7

Color formats

HEX
#D978F7
RGB
rgb(217, 120, 247)
RGBA
rgba(217, 120, 247, 1)
HSL
hsl(286, 89%, 72%)
HSV
hsv(286, 51%, 97%)
CMYK
cmyk(12%, 51%, 0%, 3%)
CSS variable
--color-primary: #D978F7;
Lowercase HEX
#d978f7

Shades

Tints

Tones

Harmony

CSS snippets for #D978F7

.color-d978f7 {
  color: #D978F7;
  background-color: #D978F7;
}

Frequently asked questions

What color is #D978F7?+

#D978F7 is a HEX color with RGB value rgb(217, 120, 247) and HSL value hsl(286, 89%, 72%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D978F7?+

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