#987BEE Color

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

Color preview

#987BEE

Color formats

HEX
#987BEE
RGB
rgb(152, 123, 238)
RGBA
rgba(152, 123, 238, 1)
HSL
hsl(255, 77%, 71%)
HSV
hsv(255, 48%, 93%)
CMYK
cmyk(36%, 48%, 0%, 7%)
CSS variable
--color-primary: #987BEE;
Lowercase HEX
#987bee

Shades

Tints

Tones

Harmony

CSS snippets for #987BEE

.color-987bee {
  color: #987BEE;
  background-color: #987BEE;
}

Frequently asked questions

What color is #987BEE?+

#987BEE is a HEX color with RGB value rgb(152, 123, 238) and HSL value hsl(255, 77%, 71%). Its closest CSS named color is MediumPurple.

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

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