#987CBD Color

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

Color preview

#987CBD

Color formats

HEX
#987CBD
RGB
rgb(152, 124, 189)
RGBA
rgba(152, 124, 189, 1)
HSL
hsl(266, 33%, 61%)
HSV
hsv(266, 34%, 74%)
CMYK
cmyk(20%, 34%, 0%, 26%)
CSS variable
--color-primary: #987CBD;
Lowercase HEX
#987cbd

Shades

Tints

Tones

Harmony

CSS snippets for #987CBD

.color-987cbd {
  color: #987CBD;
  background-color: #987CBD;
}

Frequently asked questions

What color is #987CBD?+

#987CBD is a HEX color with RGB value rgb(152, 124, 189) and HSL value hsl(266, 33%, 61%). Its closest CSS named color is MediumPurple.

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

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