#987BE1 Color

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

Color preview

#987BE1

Color formats

HEX
#987BE1
RGB
rgb(152, 123, 225)
RGBA
rgba(152, 123, 225, 1)
HSL
hsl(257, 63%, 68%)
HSV
hsv(257, 45%, 88%)
CMYK
cmyk(32%, 45%, 0%, 12%)
CSS variable
--color-primary: #987BE1;
Lowercase HEX
#987be1

Shades

Tints

Tones

Harmony

CSS snippets for #987BE1

.color-987be1 {
  color: #987BE1;
  background-color: #987BE1;
}

Frequently asked questions

What color is #987BE1?+

#987BE1 is a HEX color with RGB value rgb(152, 123, 225) and HSL value hsl(257, 63%, 68%). Its closest CSS named color is MediumPurple.

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

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