#870DC9 Color

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

Color preview

#870DC9

Color formats

HEX
#870DC9
RGB
rgb(135, 13, 201)
RGBA
rgba(135, 13, 201, 1)
HSL
hsl(279, 88%, 42%)
HSV
hsv(279, 94%, 79%)
CMYK
cmyk(33%, 94%, 0%, 21%)
CSS variable
--color-primary: #870DC9;
Lowercase HEX
#870dc9

Shades

Tints

Tones

Harmony

CSS snippets for #870DC9

.color-870dc9 {
  color: #870DC9;
  background-color: #870DC9;
}

Frequently asked questions

What color is #870DC9?+

#870DC9 is a HEX color with RGB value rgb(135, 13, 201) and HSL value hsl(279, 88%, 42%). Its closest CSS named color is DarkViolet.

What is the closest Tailwind color to #870DC9?+

The closest Tailwind color is purple-700, available as the bg-purple-700 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