#9878CB Color

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

Color preview

#9878CB

Color formats

HEX
#9878CB
RGB
rgb(152, 120, 203)
RGBA
rgba(152, 120, 203, 1)
HSL
hsl(263, 44%, 63%)
HSV
hsv(263, 41%, 80%)
CMYK
cmyk(25%, 41%, 0%, 20%)
CSS variable
--color-primary: #9878CB;
Lowercase HEX
#9878cb

Shades

Tints

Tones

Harmony

CSS snippets for #9878CB

.color-9878cb {
  color: #9878CB;
  background-color: #9878CB;
}

Frequently asked questions

What color is #9878CB?+

#9878CB is a HEX color with RGB value rgb(152, 120, 203) and HSL value hsl(263, 44%, 63%). Its closest CSS named color is MediumPurple.

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

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