#9871BC Color

Inspect #9871BC across formats, palettes, contrast and closest named color matches.

Color preview

#9871BC

Color formats

HEX
#9871BC
RGB
rgb(152, 113, 188)
RGBA
rgba(152, 113, 188, 1)
HSL
hsl(271, 36%, 59%)
HSV
hsv(271, 40%, 74%)
CMYK
cmyk(19%, 40%, 0%, 26%)
CSS variable
--color-primary: #9871BC;
Lowercase HEX
#9871bc

Shades

Tints

Tones

Harmony

CSS snippets for #9871BC

.color-9871bc {
  color: #9871BC;
  background-color: #9871BC;
}

Frequently asked questions

What color is #9871BC?+

#9871BC is a HEX color with RGB value rgb(152, 113, 188) and HSL value hsl(271, 36%, 59%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9871BC?+

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