#987FEA Color

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

Color preview

#987FEA

Color formats

HEX
#987FEA
RGB
rgb(152, 127, 234)
RGBA
rgba(152, 127, 234, 1)
HSL
hsl(254, 72%, 71%)
HSV
hsv(254, 46%, 92%)
CMYK
cmyk(35%, 46%, 0%, 8%)
CSS variable
--color-primary: #987FEA;
Lowercase HEX
#987fea

Shades

Tints

Tones

Harmony

CSS snippets for #987FEA

.color-987fea {
  color: #987FEA;
  background-color: #987FEA;
}

Frequently asked questions

What color is #987FEA?+

#987FEA is a HEX color with RGB value rgb(152, 127, 234) and HSL value hsl(254, 72%, 71%). Its closest CSS named color is MediumPurple.

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

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