#987FE3 Color

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

Color preview

#987FE3

Color formats

HEX
#987FE3
RGB
rgb(152, 127, 227)
RGBA
rgba(152, 127, 227, 1)
HSL
hsl(255, 64%, 69%)
HSV
hsv(255, 44%, 89%)
CMYK
cmyk(33%, 44%, 0%, 11%)
CSS variable
--color-primary: #987FE3;
Lowercase HEX
#987fe3

Shades

Tints

Tones

Harmony

CSS snippets for #987FE3

.color-987fe3 {
  color: #987FE3;
  background-color: #987FE3;
}

Frequently asked questions

What color is #987FE3?+

#987FE3 is a HEX color with RGB value rgb(152, 127, 227) and HSL value hsl(255, 64%, 69%). Its closest CSS named color is MediumPurple.

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

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