#987BB2 Color

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

Color preview

#987BB2

Color formats

HEX
#987BB2
RGB
rgb(152, 123, 178)
RGBA
rgba(152, 123, 178, 1)
HSL
hsl(272, 26%, 59%)
HSV
hsv(272, 31%, 70%)
CMYK
cmyk(15%, 31%, 0%, 30%)
CSS variable
--color-primary: #987BB2;
Lowercase HEX
#987bb2

Shades

Tints

Tones

Harmony

CSS snippets for #987BB2

.color-987bb2 {
  color: #987BB2;
  background-color: #987BB2;
}

Frequently asked questions

What color is #987BB2?+

#987BB2 is a HEX color with RGB value rgb(152, 123, 178) and HSL value hsl(272, 26%, 59%). Its closest CSS named color is MediumPurple.

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

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