#987EB9 Color

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

Color preview

#987EB9

Color formats

HEX
#987EB9
RGB
rgb(152, 126, 185)
RGBA
rgba(152, 126, 185, 1)
HSL
hsl(266, 30%, 61%)
HSV
hsv(266, 32%, 73%)
CMYK
cmyk(18%, 32%, 0%, 27%)
CSS variable
--color-primary: #987EB9;
Lowercase HEX
#987eb9

Shades

Tints

Tones

Harmony

CSS snippets for #987EB9

.color-987eb9 {
  color: #987EB9;
  background-color: #987EB9;
}

Frequently asked questions

What color is #987EB9?+

#987EB9 is a HEX color with RGB value rgb(152, 126, 185) and HSL value hsl(266, 30%, 61%). Its closest CSS named color is MediumPurple.

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

The closest Tailwind color is slate-400, available as the bg-slate-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