#987CDE Color

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

Color preview

#987CDE

Color formats

HEX
#987CDE
RGB
rgb(152, 124, 222)
RGBA
rgba(152, 124, 222, 1)
HSL
hsl(257, 60%, 68%)
HSV
hsv(257, 44%, 87%)
CMYK
cmyk(32%, 44%, 0%, 13%)
CSS variable
--color-primary: #987CDE;
Lowercase HEX
#987cde

Shades

Tints

Tones

Harmony

CSS snippets for #987CDE

.color-987cde {
  color: #987CDE;
  background-color: #987CDE;
}

Frequently asked questions

What color is #987CDE?+

#987CDE is a HEX color with RGB value rgb(152, 124, 222) and HSL value hsl(257, 60%, 68%). Its closest CSS named color is MediumPurple.

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

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