#987AB3 Color

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

Color preview

#987AB3

Color formats

HEX
#987AB3
RGB
rgb(152, 122, 179)
RGBA
rgba(152, 122, 179, 1)
HSL
hsl(272, 27%, 59%)
HSV
hsv(272, 32%, 70%)
CMYK
cmyk(15%, 32%, 0%, 30%)
CSS variable
--color-primary: #987AB3;
Lowercase HEX
#987ab3

Shades

Tints

Tones

Harmony

CSS snippets for #987AB3

.color-987ab3 {
  color: #987AB3;
  background-color: #987AB3;
}

Frequently asked questions

What color is #987AB3?+

#987AB3 is a HEX color with RGB value rgb(152, 122, 179) and HSL value hsl(272, 27%, 59%). Its closest CSS named color is MediumPurple.

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

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