#987EA7 Color

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

Color preview

#987EA7

Color formats

HEX
#987EA7
RGB
rgb(152, 126, 167)
RGBA
rgba(152, 126, 167, 1)
HSL
hsl(278, 19%, 57%)
HSV
hsv(278, 25%, 65%)
CMYK
cmyk(9%, 25%, 0%, 35%)
CSS variable
--color-primary: #987EA7;
Lowercase HEX
#987ea7

Shades

Tints

Tones

Harmony

CSS snippets for #987EA7

.color-987ea7 {
  color: #987EA7;
  background-color: #987EA7;
}

Frequently asked questions

What color is #987EA7?+

#987EA7 is a HEX color with RGB value rgb(152, 126, 167) and HSL value hsl(278, 19%, 57%). Its closest CSS named color is LightSlateGray.

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

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