#987FAF Color

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

Color preview

#987FAF

Color formats

HEX
#987FAF
RGB
rgb(152, 127, 175)
RGBA
rgba(152, 127, 175, 1)
HSL
hsl(271, 23%, 59%)
HSV
hsv(271, 27%, 69%)
CMYK
cmyk(13%, 27%, 0%, 31%)
CSS variable
--color-primary: #987FAF;
Lowercase HEX
#987faf

Shades

Tints

Tones

Harmony

CSS snippets for #987FAF

.color-987faf {
  color: #987FAF;
  background-color: #987FAF;
}

Frequently asked questions

What color is #987FAF?+

#987FAF is a HEX color with RGB value rgb(152, 127, 175) and HSL value hsl(271, 23%, 59%). Its closest CSS named color is LightSlateGray.

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

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