#D873F2 Color

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

Color preview

#D873F2

Color formats

HEX
#D873F2
RGB
rgb(216, 115, 242)
RGBA
rgba(216, 115, 242, 1)
HSL
hsl(288, 83%, 70%)
HSV
hsv(288, 52%, 95%)
CMYK
cmyk(11%, 52%, 0%, 5%)
CSS variable
--color-primary: #D873F2;
Lowercase HEX
#d873f2

Shades

Tints

Tones

Harmony

CSS snippets for #D873F2

.color-d873f2 {
  color: #D873F2;
  background-color: #D873F2;
}

Frequently asked questions

What color is #D873F2?+

#D873F2 is a HEX color with RGB value rgb(216, 115, 242) and HSL value hsl(288, 83%, 70%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D873F2?+

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