#987CA1 Color

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

Color preview

#987CA1

Color formats

HEX
#987CA1
RGB
rgb(152, 124, 161)
RGBA
rgba(152, 124, 161, 1)
HSL
hsl(285, 16%, 56%)
HSV
hsv(285, 23%, 63%)
CMYK
cmyk(6%, 23%, 0%, 37%)
CSS variable
--color-primary: #987CA1;
Lowercase HEX
#987ca1

Shades

Tints

Tones

Harmony

CSS snippets for #987CA1

.color-987ca1 {
  color: #987CA1;
  background-color: #987CA1;
}

Frequently asked questions

What color is #987CA1?+

#987CA1 is a HEX color with RGB value rgb(152, 124, 161) and HSL value hsl(285, 16%, 56%). Its closest CSS named color is LightSlateGray.

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

The closest Tailwind color is zinc-400, available as the bg-zinc-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