#987CC5 Color

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

Color preview

#987CC5

Color formats

HEX
#987CC5
RGB
rgb(152, 124, 197)
RGBA
rgba(152, 124, 197, 1)
HSL
hsl(263, 39%, 63%)
HSV
hsv(263, 37%, 77%)
CMYK
cmyk(23%, 37%, 0%, 23%)
CSS variable
--color-primary: #987CC5;
Lowercase HEX
#987cc5

Shades

Tints

Tones

Harmony

CSS snippets for #987CC5

.color-987cc5 {
  color: #987CC5;
  background-color: #987CC5;
}

Frequently asked questions

What color is #987CC5?+

#987CC5 is a HEX color with RGB value rgb(152, 124, 197) and HSL value hsl(263, 39%, 63%). Its closest CSS named color is MediumPurple.

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

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