#9870CD Color

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

Color preview

#9870CD

Color formats

HEX
#9870CD
RGB
rgb(152, 112, 205)
RGBA
rgba(152, 112, 205, 1)
HSL
hsl(266, 48%, 62%)
HSV
hsv(266, 45%, 80%)
CMYK
cmyk(26%, 45%, 0%, 20%)
CSS variable
--color-primary: #9870CD;
Lowercase HEX
#9870cd

Shades

Tints

Tones

Harmony

CSS snippets for #9870CD

.color-9870cd {
  color: #9870CD;
  background-color: #9870CD;
}

Frequently asked questions

What color is #9870CD?+

#9870CD is a HEX color with RGB value rgb(152, 112, 205) and HSL value hsl(266, 48%, 62%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9870CD?+

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