#987EC6 Color

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

Color preview

#987EC6

Color formats

HEX
#987EC6
RGB
rgb(152, 126, 198)
RGBA
rgba(152, 126, 198, 1)
HSL
hsl(262, 39%, 64%)
HSV
hsv(262, 36%, 78%)
CMYK
cmyk(23%, 36%, 0%, 22%)
CSS variable
--color-primary: #987EC6;
Lowercase HEX
#987ec6

Shades

Tints

Tones

Harmony

CSS snippets for #987EC6

.color-987ec6 {
  color: #987EC6;
  background-color: #987EC6;
}

Frequently asked questions

What color is #987EC6?+

#987EC6 is a HEX color with RGB value rgb(152, 126, 198) and HSL value hsl(262, 39%, 64%). Its closest CSS named color is MediumPurple.

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

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