#9786EB Color

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

Color preview

#9786EB

Color formats

HEX
#9786EB
RGB
rgb(151, 134, 235)
RGBA
rgba(151, 134, 235, 1)
HSL
hsl(250, 72%, 72%)
HSV
hsv(250, 43%, 92%)
CMYK
cmyk(36%, 43%, 0%, 8%)
CSS variable
--color-primary: #9786EB;
Lowercase HEX
#9786eb

Shades

Tints

Tones

Harmony

CSS snippets for #9786EB

.color-9786eb {
  color: #9786EB;
  background-color: #9786EB;
}

Frequently asked questions

What color is #9786EB?+

#9786EB is a HEX color with RGB value rgb(151, 134, 235) and HSL value hsl(250, 72%, 72%). Its closest CSS named color is MediumPurple.

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

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