#9876CB Color

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

Color preview

#9876CB

Color formats

HEX
#9876CB
RGB
rgb(152, 118, 203)
RGBA
rgba(152, 118, 203, 1)
HSL
hsl(264, 45%, 63%)
HSV
hsv(264, 42%, 80%)
CMYK
cmyk(25%, 42%, 0%, 20%)
CSS variable
--color-primary: #9876CB;
Lowercase HEX
#9876cb

Shades

Tints

Tones

Harmony

CSS snippets for #9876CB

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

Frequently asked questions

What color is #9876CB?+

#9876CB is a HEX color with RGB value rgb(152, 118, 203) and HSL value hsl(264, 45%, 63%). Its closest CSS named color is MediumPurple.

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

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