#987AA8 Color

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

Color preview

#987AA8

Color formats

HEX
#987AA8
RGB
rgb(152, 122, 168)
RGBA
rgba(152, 122, 168, 1)
HSL
hsl(279, 21%, 57%)
HSV
hsv(279, 27%, 66%)
CMYK
cmyk(10%, 27%, 0%, 34%)
CSS variable
--color-primary: #987AA8;
Lowercase HEX
#987aa8

Shades

Tints

Tones

Harmony

CSS snippets for #987AA8

.color-987aa8 {
  color: #987AA8;
  background-color: #987AA8;
}

Frequently asked questions

What color is #987AA8?+

#987AA8 is a HEX color with RGB value rgb(152, 122, 168) and HSL value hsl(279, 21%, 57%). Its closest CSS named color is LightSlateGray.

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

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