#987FA2 Color

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

Color preview

#987FA2

Color formats

HEX
#987FA2
RGB
rgb(152, 127, 162)
RGBA
rgba(152, 127, 162, 1)
HSL
hsl(283, 16%, 57%)
HSV
hsv(283, 22%, 64%)
CMYK
cmyk(6%, 22%, 0%, 36%)
CSS variable
--color-primary: #987FA2;
Lowercase HEX
#987fa2

Shades

Tints

Tones

Harmony

CSS snippets for #987FA2

.color-987fa2 {
  color: #987FA2;
  background-color: #987FA2;
}

Frequently asked questions

What color is #987FA2?+

#987FA2 is a HEX color with RGB value rgb(152, 127, 162) and HSL value hsl(283, 16%, 57%). Its closest CSS named color is LightSlateGray.

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

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