#987EB6 Color

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

Color preview

#987EB6

Color formats

HEX
#987EB6
RGB
rgb(152, 126, 182)
RGBA
rgba(152, 126, 182, 1)
HSL
hsl(268, 28%, 60%)
HSV
hsv(268, 31%, 71%)
CMYK
cmyk(16%, 31%, 0%, 29%)
CSS variable
--color-primary: #987EB6;
Lowercase HEX
#987eb6

Shades

Tints

Tones

Harmony

CSS snippets for #987EB6

.color-987eb6 {
  color: #987EB6;
  background-color: #987EB6;
}

Frequently asked questions

What color is #987EB6?+

#987EB6 is a HEX color with RGB value rgb(152, 126, 182) and HSL value hsl(268, 28%, 60%). Its closest CSS named color is MediumPurple.

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

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