#A786C5 Color

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

Color preview

#A786C5

Color formats

HEX
#A786C5
RGB
rgb(167, 134, 197)
RGBA
rgba(167, 134, 197, 1)
HSL
hsl(271, 35%, 65%)
HSV
hsv(271, 32%, 77%)
CMYK
cmyk(15%, 32%, 0%, 23%)
CSS variable
--color-primary: #A786C5;
Lowercase HEX
#a786c5

Shades

Tints

Tones

Harmony

CSS snippets for #A786C5

.color-a786c5 {
  color: #A786C5;
  background-color: #A786C5;
}

Frequently asked questions

What color is #A786C5?+

#A786C5 is a HEX color with RGB value rgb(167, 134, 197) and HSL value hsl(271, 35%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A786C5?+

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