#987DAB Color

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

Color preview

#987DAB

Color formats

HEX
#987DAB
RGB
rgb(152, 125, 171)
RGBA
rgba(152, 125, 171, 1)
HSL
hsl(275, 21%, 58%)
HSV
hsv(275, 27%, 67%)
CMYK
cmyk(11%, 27%, 0%, 33%)
CSS variable
--color-primary: #987DAB;
Lowercase HEX
#987dab

Shades

Tints

Tones

Harmony

CSS snippets for #987DAB

.color-987dab {
  color: #987DAB;
  background-color: #987DAB;
}

Frequently asked questions

What color is #987DAB?+

#987DAB is a HEX color with RGB value rgb(152, 125, 171) and HSL value hsl(275, 21%, 58%). Its closest CSS named color is LightSlateGray.

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

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