#987FCD Color

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

Color preview

#987FCD

Color formats

HEX
#987FCD
RGB
rgb(152, 127, 205)
RGBA
rgba(152, 127, 205, 1)
HSL
hsl(259, 44%, 65%)
HSV
hsv(259, 38%, 80%)
CMYK
cmyk(26%, 38%, 0%, 20%)
CSS variable
--color-primary: #987FCD;
Lowercase HEX
#987fcd

Shades

Tints

Tones

Harmony

CSS snippets for #987FCD

.color-987fcd {
  color: #987FCD;
  background-color: #987FCD;
}

Frequently asked questions

What color is #987FCD?+

#987FCD is a HEX color with RGB value rgb(152, 127, 205) and HSL value hsl(259, 44%, 65%). Its closest CSS named color is MediumPurple.

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

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