#A796E1 Color

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

Color preview

#A796E1

Color formats

HEX
#A796E1
RGB
rgb(167, 150, 225)
RGBA
rgba(167, 150, 225, 1)
HSL
hsl(254, 56%, 74%)
HSV
hsv(254, 33%, 88%)
CMYK
cmyk(26%, 33%, 0%, 12%)
CSS variable
--color-primary: #A796E1;
Lowercase HEX
#a796e1

Shades

Tints

Tones

Harmony

CSS snippets for #A796E1

.color-a796e1 {
  color: #A796E1;
  background-color: #A796E1;
}

Frequently asked questions

What color is #A796E1?+

#A796E1 is a HEX color with RGB value rgb(167, 150, 225) and HSL value hsl(254, 56%, 74%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796E1?+

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