#A796D8 Color

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

Color preview

#A796D8

Color formats

HEX
#A796D8
RGB
rgb(167, 150, 216)
RGBA
rgba(167, 150, 216, 1)
HSL
hsl(255, 46%, 72%)
HSV
hsv(255, 31%, 85%)
CMYK
cmyk(23%, 31%, 0%, 15%)
CSS variable
--color-primary: #A796D8;
Lowercase HEX
#a796d8

Shades

Tints

Tones

Harmony

CSS snippets for #A796D8

.color-a796d8 {
  color: #A796D8;
  background-color: #A796D8;
}

Frequently asked questions

What color is #A796D8?+

#A796D8 is a HEX color with RGB value rgb(167, 150, 216) and HSL value hsl(255, 46%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796D8?+

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