#987CBE Color

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

Color preview

#987CBE

Color formats

HEX
#987CBE
RGB
rgb(152, 124, 190)
RGBA
rgba(152, 124, 190, 1)
HSL
hsl(265, 34%, 62%)
HSV
hsv(265, 35%, 75%)
CMYK
cmyk(20%, 35%, 0%, 25%)
CSS variable
--color-primary: #987CBE;
Lowercase HEX
#987cbe

Shades

Tints

Tones

Harmony

CSS snippets for #987CBE

.color-987cbe {
  color: #987CBE;
  background-color: #987CBE;
}

Frequently asked questions

What color is #987CBE?+

#987CBE is a HEX color with RGB value rgb(152, 124, 190) and HSL value hsl(265, 34%, 62%). Its closest CSS named color is MediumPurple.

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

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