#987EDB Color

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

Color preview

#987EDB

Color formats

HEX
#987EDB
RGB
rgb(152, 126, 219)
RGBA
rgba(152, 126, 219, 1)
HSL
hsl(257, 56%, 68%)
HSV
hsv(257, 42%, 86%)
CMYK
cmyk(31%, 42%, 0%, 14%)
CSS variable
--color-primary: #987EDB;
Lowercase HEX
#987edb

Shades

Tints

Tones

Harmony

CSS snippets for #987EDB

.color-987edb {
  color: #987EDB;
  background-color: #987EDB;
}

Frequently asked questions

What color is #987EDB?+

#987EDB is a HEX color with RGB value rgb(152, 126, 219) and HSL value hsl(257, 56%, 68%). Its closest CSS named color is MediumPurple.

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

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