#987DC9 Color

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

Color preview

#987DC9

Color formats

HEX
#987DC9
RGB
rgb(152, 125, 201)
RGBA
rgba(152, 125, 201, 1)
HSL
hsl(261, 41%, 64%)
HSV
hsv(261, 38%, 79%)
CMYK
cmyk(24%, 38%, 0%, 21%)
CSS variable
--color-primary: #987DC9;
Lowercase HEX
#987dc9

Shades

Tints

Tones

Harmony

CSS snippets for #987DC9

.color-987dc9 {
  color: #987DC9;
  background-color: #987DC9;
}

Frequently asked questions

What color is #987DC9?+

#987DC9 is a HEX color with RGB value rgb(152, 125, 201) and HSL value hsl(261, 41%, 64%). Its closest CSS named color is MediumPurple.

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

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