#987BA2 Color

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

Color preview

#987BA2

Color formats

HEX
#987BA2
RGB
rgb(152, 123, 162)
RGBA
rgba(152, 123, 162, 1)
HSL
hsl(285, 17%, 56%)
HSV
hsv(285, 24%, 64%)
CMYK
cmyk(6%, 24%, 0%, 36%)
CSS variable
--color-primary: #987BA2;
Lowercase HEX
#987ba2

Shades

Tints

Tones

Harmony

CSS snippets for #987BA2

.color-987ba2 {
  color: #987BA2;
  background-color: #987BA2;
}

Frequently asked questions

What color is #987BA2?+

#987BA2 is a HEX color with RGB value rgb(152, 123, 162) and HSL value hsl(285, 17%, 56%). Its closest CSS named color is LightSlateGray.

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

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