#A786E5 Color

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

Color preview

#A786E5

Color formats

HEX
#A786E5
RGB
rgb(167, 134, 229)
RGBA
rgba(167, 134, 229, 1)
HSL
hsl(261, 65%, 71%)
HSV
hsv(261, 41%, 90%)
CMYK
cmyk(27%, 41%, 0%, 10%)
CSS variable
--color-primary: #A786E5;
Lowercase HEX
#a786e5

Shades

Tints

Tones

Harmony

CSS snippets for #A786E5

.color-a786e5 {
  color: #A786E5;
  background-color: #A786E5;
}

Frequently asked questions

What color is #A786E5?+

#A786E5 is a HEX color with RGB value rgb(167, 134, 229) and HSL value hsl(261, 65%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A786E5?+

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