#9878CC Color

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

Color preview

#9878CC

Color formats

HEX
#9878CC
RGB
rgb(152, 120, 204)
RGBA
rgba(152, 120, 204, 1)
HSL
hsl(263, 45%, 64%)
HSV
hsv(263, 41%, 80%)
CMYK
cmyk(25%, 41%, 0%, 20%)
CSS variable
--color-primary: #9878CC;
Lowercase HEX
#9878cc

Shades

Tints

Tones

Harmony

CSS snippets for #9878CC

.color-9878cc {
  color: #9878CC;
  background-color: #9878CC;
}

Frequently asked questions

What color is #9878CC?+

#9878CC is a HEX color with RGB value rgb(152, 120, 204) and HSL value hsl(263, 45%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9878CC?+

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