#987EB8 Color

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

Color preview

#987EB8

Color formats

HEX
#987EB8
RGB
rgb(152, 126, 184)
RGBA
rgba(152, 126, 184, 1)
HSL
hsl(267, 29%, 61%)
HSV
hsv(267, 32%, 72%)
CMYK
cmyk(17%, 32%, 0%, 28%)
CSS variable
--color-primary: #987EB8;
Lowercase HEX
#987eb8

Shades

Tints

Tones

Harmony

CSS snippets for #987EB8

.color-987eb8 {
  color: #987EB8;
  background-color: #987EB8;
}

Frequently asked questions

What color is #987EB8?+

#987EB8 is a HEX color with RGB value rgb(152, 126, 184) and HSL value hsl(267, 29%, 61%). Its closest CSS named color is MediumPurple.

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

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