#D872FD Color

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

Color preview

#D872FD

Color formats

HEX
#D872FD
RGB
rgb(216, 114, 253)
RGBA
rgba(216, 114, 253, 1)
HSL
hsl(284, 97%, 72%)
HSV
hsv(284, 55%, 99%)
CMYK
cmyk(15%, 55%, 0%, 1%)
CSS variable
--color-primary: #D872FD;
Lowercase HEX
#d872fd

Shades

Tints

Tones

Harmony

CSS snippets for #D872FD

.color-d872fd {
  color: #D872FD;
  background-color: #D872FD;
}

Frequently asked questions

What color is #D872FD?+

#D872FD is a HEX color with RGB value rgb(216, 114, 253) and HSL value hsl(284, 97%, 72%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D872FD?+

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