#987BC1 Color

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

Color preview

#987BC1

Color formats

HEX
#987BC1
RGB
rgb(152, 123, 193)
RGBA
rgba(152, 123, 193, 1)
HSL
hsl(265, 36%, 62%)
HSV
hsv(265, 36%, 76%)
CMYK
cmyk(21%, 36%, 0%, 24%)
CSS variable
--color-primary: #987BC1;
Lowercase HEX
#987bc1

Shades

Tints

Tones

Harmony

CSS snippets for #987BC1

.color-987bc1 {
  color: #987BC1;
  background-color: #987BC1;
}

Frequently asked questions

What color is #987BC1?+

#987BC1 is a HEX color with RGB value rgb(152, 123, 193) and HSL value hsl(265, 36%, 62%). Its closest CSS named color is MediumPurple.

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

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