#987FB7 Color

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

Color preview

#987FB7

Color formats

HEX
#987FB7
RGB
rgb(152, 127, 183)
RGBA
rgba(152, 127, 183, 1)
HSL
hsl(267, 28%, 61%)
HSV
hsv(267, 31%, 72%)
CMYK
cmyk(17%, 31%, 0%, 28%)
CSS variable
--color-primary: #987FB7;
Lowercase HEX
#987fb7

Shades

Tints

Tones

Harmony

CSS snippets for #987FB7

.color-987fb7 {
  color: #987FB7;
  background-color: #987FB7;
}

Frequently asked questions

What color is #987FB7?+

#987FB7 is a HEX color with RGB value rgb(152, 127, 183) and HSL value hsl(267, 28%, 61%). Its closest CSS named color is MediumPurple.

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

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