#987CCB Color

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

Color preview

#987CCB

Color formats

HEX
#987CCB
RGB
rgb(152, 124, 203)
RGBA
rgba(152, 124, 203, 1)
HSL
hsl(261, 43%, 64%)
HSV
hsv(261, 39%, 80%)
CMYK
cmyk(25%, 39%, 0%, 20%)
CSS variable
--color-primary: #987CCB;
Lowercase HEX
#987ccb

Shades

Tints

Tones

Harmony

CSS snippets for #987CCB

.color-987ccb {
  color: #987CCB;
  background-color: #987CCB;
}

Frequently asked questions

What color is #987CCB?+

#987CCB is a HEX color with RGB value rgb(152, 124, 203) and HSL value hsl(261, 43%, 64%). Its closest CSS named color is MediumPurple.

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

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