#A796DF Color

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

Color preview

#A796DF

Color formats

HEX
#A796DF
RGB
rgb(167, 150, 223)
RGBA
rgba(167, 150, 223, 1)
HSL
hsl(254, 53%, 73%)
HSV
hsv(254, 33%, 87%)
CMYK
cmyk(25%, 33%, 0%, 13%)
CSS variable
--color-primary: #A796DF;
Lowercase HEX
#a796df

Shades

Tints

Tones

Harmony

CSS snippets for #A796DF

.color-a796df {
  color: #A796DF;
  background-color: #A796DF;
}

Frequently asked questions

What color is #A796DF?+

#A796DF is a HEX color with RGB value rgb(167, 150, 223) and HSL value hsl(254, 53%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796DF?+

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