#987BDC Color

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

Color preview

#987BDC

Color formats

HEX
#987BDC
RGB
rgb(152, 123, 220)
RGBA
rgba(152, 123, 220, 1)
HSL
hsl(258, 58%, 67%)
HSV
hsv(258, 44%, 86%)
CMYK
cmyk(31%, 44%, 0%, 14%)
CSS variable
--color-primary: #987BDC;
Lowercase HEX
#987bdc

Shades

Tints

Tones

Harmony

CSS snippets for #987BDC

.color-987bdc {
  color: #987BDC;
  background-color: #987BDC;
}

Frequently asked questions

What color is #987BDC?+

#987BDC is a HEX color with RGB value rgb(152, 123, 220) and HSL value hsl(258, 58%, 67%). Its closest CSS named color is MediumPurple.

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

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