#987CDA Color

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

Color preview

#987CDA

Color formats

HEX
#987CDA
RGB
rgb(152, 124, 218)
RGBA
rgba(152, 124, 218, 1)
HSL
hsl(258, 56%, 67%)
HSV
hsv(258, 43%, 85%)
CMYK
cmyk(30%, 43%, 0%, 15%)
CSS variable
--color-primary: #987CDA;
Lowercase HEX
#987cda

Shades

Tints

Tones

Harmony

CSS snippets for #987CDA

.color-987cda {
  color: #987CDA;
  background-color: #987CDA;
}

Frequently asked questions

What color is #987CDA?+

#987CDA is a HEX color with RGB value rgb(152, 124, 218) and HSL value hsl(258, 56%, 67%). Its closest CSS named color is MediumPurple.

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

The closest Tailwind color is violet-400, available as the bg-violet-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