#987ACC Color

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

Color preview

#987ACC

Color formats

HEX
#987ACC
RGB
rgb(152, 122, 204)
RGBA
rgba(152, 122, 204, 1)
HSL
hsl(262, 45%, 64%)
HSV
hsv(262, 40%, 80%)
CMYK
cmyk(25%, 40%, 0%, 20%)
CSS variable
--color-primary: #987ACC;
Lowercase HEX
#987acc

Shades

Tints

Tones

Harmony

CSS snippets for #987ACC

.color-987acc {
  color: #987ACC;
  background-color: #987ACC;
}

Frequently asked questions

What color is #987ACC?+

#987ACC is a HEX color with RGB value rgb(152, 122, 204) and HSL value hsl(262, 45%, 64%). Its closest CSS named color is MediumPurple.

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

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