#9786CE Color

Inspect #9786CE across formats, palettes, contrast and closest named color matches.

Color preview

#9786CE

Color formats

HEX
#9786CE
RGB
rgb(151, 134, 206)
RGBA
rgba(151, 134, 206, 1)
HSL
hsl(254, 42%, 67%)
HSV
hsv(254, 35%, 81%)
CMYK
cmyk(27%, 35%, 0%, 19%)
CSS variable
--color-primary: #9786CE;
Lowercase HEX
#9786ce

Shades

Tints

Tones

Harmony

CSS snippets for #9786CE

.color-9786ce {
  color: #9786CE;
  background-color: #9786CE;
}

Frequently asked questions

What color is #9786CE?+

#9786CE is a HEX color with RGB value rgb(151, 134, 206) and HSL value hsl(254, 42%, 67%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #9786CE?+

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