#987BBB Color

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

Color preview

#987BBB

Color formats

HEX
#987BBB
RGB
rgb(152, 123, 187)
RGBA
rgba(152, 123, 187, 1)
HSL
hsl(267, 32%, 61%)
HSV
hsv(267, 34%, 73%)
CMYK
cmyk(19%, 34%, 0%, 27%)
CSS variable
--color-primary: #987BBB;
Lowercase HEX
#987bbb

Shades

Tints

Tones

Harmony

CSS snippets for #987BBB

.color-987bbb {
  color: #987BBB;
  background-color: #987BBB;
}

Frequently asked questions

What color is #987BBB?+

#987BBB is a HEX color with RGB value rgb(152, 123, 187) and HSL value hsl(267, 32%, 61%). Its closest CSS named color is MediumPurple.

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

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