#987CBA Color

Inspect #987CBA across formats, palettes, contrast and closest named color matches.

Color preview

#987CBA

Color formats

HEX
#987CBA
RGB
rgb(152, 124, 186)
RGBA
rgba(152, 124, 186, 1)
HSL
hsl(267, 31%, 61%)
HSV
hsv(267, 33%, 73%)
CMYK
cmyk(18%, 33%, 0%, 27%)
CSS variable
--color-primary: #987CBA;
Lowercase HEX
#987cba

Shades

Tints

Tones

Harmony

CSS snippets for #987CBA

.color-987cba {
  color: #987CBA;
  background-color: #987CBA;
}

Frequently asked questions

What color is #987CBA?+

#987CBA is a HEX color with RGB value rgb(152, 124, 186) and HSL value hsl(267, 31%, 61%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #987CBA?+

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