#987BCF Color

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

Color preview

#987BCF

Color formats

HEX
#987BCF
RGB
rgb(152, 123, 207)
RGBA
rgba(152, 123, 207, 1)
HSL
hsl(261, 47%, 65%)
HSV
hsv(261, 41%, 81%)
CMYK
cmyk(27%, 41%, 0%, 19%)
CSS variable
--color-primary: #987BCF;
Lowercase HEX
#987bcf

Shades

Tints

Tones

Harmony

CSS snippets for #987BCF

.color-987bcf {
  color: #987BCF;
  background-color: #987BCF;
}

Frequently asked questions

What color is #987BCF?+

#987BCF is a HEX color with RGB value rgb(152, 123, 207) and HSL value hsl(261, 47%, 65%). Its closest CSS named color is MediumPurple.

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

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