#987FCE Color

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

Color preview

#987FCE

Color formats

HEX
#987FCE
RGB
rgb(152, 127, 206)
RGBA
rgba(152, 127, 206, 1)
HSL
hsl(259, 45%, 65%)
HSV
hsv(259, 38%, 81%)
CMYK
cmyk(26%, 38%, 0%, 19%)
CSS variable
--color-primary: #987FCE;
Lowercase HEX
#987fce

Shades

Tints

Tones

Harmony

CSS snippets for #987FCE

.color-987fce {
  color: #987FCE;
  background-color: #987FCE;
}

Frequently asked questions

What color is #987FCE?+

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

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

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