#987BEA Color

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

Color preview

#987BEA

Color formats

HEX
#987BEA
RGB
rgb(152, 123, 234)
RGBA
rgba(152, 123, 234, 1)
HSL
hsl(256, 73%, 70%)
HSV
hsv(256, 47%, 92%)
CMYK
cmyk(35%, 47%, 0%, 8%)
CSS variable
--color-primary: #987BEA;
Lowercase HEX
#987bea

Shades

Tints

Tones

Harmony

CSS snippets for #987BEA

.color-987bea {
  color: #987BEA;
  background-color: #987BEA;
}

Frequently asked questions

What color is #987BEA?+

#987BEA is a HEX color with RGB value rgb(152, 123, 234) and HSL value hsl(256, 73%, 70%). Its closest CSS named color is MediumPurple.

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

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