#987CE5 Color

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

Color preview

#987CE5

Color formats

HEX
#987CE5
RGB
rgb(152, 124, 229)
RGBA
rgba(152, 124, 229, 1)
HSL
hsl(256, 67%, 69%)
HSV
hsv(256, 46%, 90%)
CMYK
cmyk(34%, 46%, 0%, 10%)
CSS variable
--color-primary: #987CE5;
Lowercase HEX
#987ce5

Shades

Tints

Tones

Harmony

CSS snippets for #987CE5

.color-987ce5 {
  color: #987CE5;
  background-color: #987CE5;
}

Frequently asked questions

What color is #987CE5?+

#987CE5 is a HEX color with RGB value rgb(152, 124, 229) and HSL value hsl(256, 67%, 69%). Its closest CSS named color is MediumPurple.

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

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