#987ECE Color

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

Color preview

#987ECE

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #987ECE

.color-987ece {
  color: #987ECE;
  background-color: #987ECE;
}

Frequently asked questions

What color is #987ECE?+

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

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

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