#A786B1 Color

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

Color preview

#A786B1

Color formats

HEX
#A786B1
RGB
rgb(167, 134, 177)
RGBA
rgba(167, 134, 177, 1)
HSL
hsl(286, 22%, 61%)
HSV
hsv(286, 24%, 69%)
CMYK
cmyk(6%, 24%, 0%, 31%)
CSS variable
--color-primary: #A786B1;
Lowercase HEX
#a786b1

Shades

Tints

Tones

Harmony

CSS snippets for #A786B1

.color-a786b1 {
  color: #A786B1;
  background-color: #A786B1;
}

Frequently asked questions

What color is #A786B1?+

#A786B1 is a HEX color with RGB value rgb(167, 134, 177) and HSL value hsl(286, 22%, 61%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #A786B1?+

The closest Tailwind color is zinc-400, available as the bg-zinc-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