#987DCE Color

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

Color preview

#987DCE

Color formats

HEX
#987DCE
RGB
rgb(152, 125, 206)
RGBA
rgba(152, 125, 206, 1)
HSL
hsl(260, 45%, 65%)
HSV
hsv(260, 39%, 81%)
CMYK
cmyk(26%, 39%, 0%, 19%)
CSS variable
--color-primary: #987DCE;
Lowercase HEX
#987dce

Shades

Tints

Tones

Harmony

CSS snippets for #987DCE

.color-987dce {
  color: #987DCE;
  background-color: #987DCE;
}

Frequently asked questions

What color is #987DCE?+

#987DCE is a HEX color with RGB value rgb(152, 125, 206) and HSL value hsl(260, 45%, 65%). Its closest CSS named color is MediumPurple.

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

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