#987DCF Color

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

Color preview

#987DCF

Color formats

HEX
#987DCF
RGB
rgb(152, 125, 207)
RGBA
rgba(152, 125, 207, 1)
HSL
hsl(260, 46%, 65%)
HSV
hsv(260, 40%, 81%)
CMYK
cmyk(27%, 40%, 0%, 19%)
CSS variable
--color-primary: #987DCF;
Lowercase HEX
#987dcf

Shades

Tints

Tones

Harmony

CSS snippets for #987DCF

.color-987dcf {
  color: #987DCF;
  background-color: #987DCF;
}

Frequently asked questions

What color is #987DCF?+

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

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

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