#987AB4 Color

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

Color preview

#987AB4

Color formats

HEX
#987AB4
RGB
rgb(152, 122, 180)
RGBA
rgba(152, 122, 180, 1)
HSL
hsl(271, 28%, 59%)
HSV
hsv(271, 32%, 71%)
CMYK
cmyk(16%, 32%, 0%, 29%)
CSS variable
--color-primary: #987AB4;
Lowercase HEX
#987ab4

Shades

Tints

Tones

Harmony

CSS snippets for #987AB4

.color-987ab4 {
  color: #987AB4;
  background-color: #987AB4;
}

Frequently asked questions

What color is #987AB4?+

#987AB4 is a HEX color with RGB value rgb(152, 122, 180) and HSL value hsl(271, 28%, 59%). Its closest CSS named color is MediumPurple.

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

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