#A796DC Color

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

Color preview

#A796DC

Color formats

HEX
#A796DC
RGB
rgb(167, 150, 220)
RGBA
rgba(167, 150, 220, 1)
HSL
hsl(255, 50%, 73%)
HSV
hsv(255, 32%, 86%)
CMYK
cmyk(24%, 32%, 0%, 14%)
CSS variable
--color-primary: #A796DC;
Lowercase HEX
#a796dc

Shades

Tints

Tones

Harmony

CSS snippets for #A796DC

.color-a796dc {
  color: #A796DC;
  background-color: #A796DC;
}

Frequently asked questions

What color is #A796DC?+

#A796DC is a HEX color with RGB value rgb(167, 150, 220) and HSL value hsl(255, 50%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796DC?+

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