#987DC3 Color

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

Color preview

#987DC3

Color formats

HEX
#987DC3
RGB
rgb(152, 125, 195)
RGBA
rgba(152, 125, 195, 1)
HSL
hsl(263, 37%, 63%)
HSV
hsv(263, 36%, 76%)
CMYK
cmyk(22%, 36%, 0%, 24%)
CSS variable
--color-primary: #987DC3;
Lowercase HEX
#987dc3

Shades

Tints

Tones

Harmony

CSS snippets for #987DC3

.color-987dc3 {
  color: #987DC3;
  background-color: #987DC3;
}

Frequently asked questions

What color is #987DC3?+

#987DC3 is a HEX color with RGB value rgb(152, 125, 195) and HSL value hsl(263, 37%, 63%). Its closest CSS named color is MediumPurple.

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

The closest Tailwind color is slate-400, available as the bg-slate-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