#A786DC Color

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

Color preview

#A786DC

Color formats

HEX
#A786DC
RGB
rgb(167, 134, 220)
RGBA
rgba(167, 134, 220, 1)
HSL
hsl(263, 55%, 69%)
HSV
hsv(263, 39%, 86%)
CMYK
cmyk(24%, 39%, 0%, 14%)
CSS variable
--color-primary: #A786DC;
Lowercase HEX
#a786dc

Shades

Tints

Tones

Harmony

CSS snippets for #A786DC

.color-a786dc {
  color: #A786DC;
  background-color: #A786DC;
}

Frequently asked questions

What color is #A786DC?+

#A786DC is a HEX color with RGB value rgb(167, 134, 220) and HSL value hsl(263, 55%, 69%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A786DC?+

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