#987CCF Color

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

Color preview

#987CCF

Color formats

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

Shades

Tints

Tones

Harmony

CSS snippets for #987CCF

.color-987ccf {
  color: #987CCF;
  background-color: #987CCF;
}

Frequently asked questions

What color is #987CCF?+

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

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

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