#987FCC Color

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

Color preview

#987FCC

Color formats

HEX
#987FCC
RGB
rgb(152, 127, 204)
RGBA
rgba(152, 127, 204, 1)
HSL
hsl(259, 43%, 65%)
HSV
hsv(259, 38%, 80%)
CMYK
cmyk(25%, 38%, 0%, 20%)
CSS variable
--color-primary: #987FCC;
Lowercase HEX
#987fcc

Shades

Tints

Tones

Harmony

CSS snippets for #987FCC

.color-987fcc {
  color: #987FCC;
  background-color: #987FCC;
}

Frequently asked questions

What color is #987FCC?+

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

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

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