#987CF3 Color

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

Color preview

#987CF3

Color formats

HEX
#987CF3
RGB
rgb(152, 124, 243)
RGBA
rgba(152, 124, 243, 1)
HSL
hsl(254, 83%, 72%)
HSV
hsv(254, 49%, 95%)
CMYK
cmyk(37%, 49%, 0%, 5%)
CSS variable
--color-primary: #987CF3;
Lowercase HEX
#987cf3

Shades

Tints

Tones

Harmony

CSS snippets for #987CF3

.color-987cf3 {
  color: #987CF3;
  background-color: #987CF3;
}

Frequently asked questions

What color is #987CF3?+

#987CF3 is a HEX color with RGB value rgb(152, 124, 243) and HSL value hsl(254, 83%, 72%). Its closest CSS named color is MediumPurple.

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

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