#987BCC Color

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

Color preview

#987BCC

Color formats

HEX
#987BCC
RGB
rgb(152, 123, 204)
RGBA
rgba(152, 123, 204, 1)
HSL
hsl(261, 44%, 64%)
HSV
hsv(261, 40%, 80%)
CMYK
cmyk(25%, 40%, 0%, 20%)
CSS variable
--color-primary: #987BCC;
Lowercase HEX
#987bcc

Shades

Tints

Tones

Harmony

CSS snippets for #987BCC

.color-987bcc {
  color: #987BCC;
  background-color: #987BCC;
}

Frequently asked questions

What color is #987BCC?+

#987BCC is a HEX color with RGB value rgb(152, 123, 204) and HSL value hsl(261, 44%, 64%). Its closest CSS named color is MediumPurple.

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

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