#A796EB Color

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

Color preview

#A796EB

Color formats

HEX
#A796EB
RGB
rgb(167, 150, 235)
RGBA
rgba(167, 150, 235, 1)
HSL
hsl(252, 68%, 75%)
HSV
hsv(252, 36%, 92%)
CMYK
cmyk(29%, 36%, 0%, 8%)
CSS variable
--color-primary: #A796EB;
Lowercase HEX
#a796eb

Shades

Tints

Tones

Harmony

CSS snippets for #A796EB

.color-a796eb {
  color: #A796EB;
  background-color: #A796EB;
}

Frequently asked questions

What color is #A796EB?+

#A796EB is a HEX color with RGB value rgb(167, 150, 235) and HSL value hsl(252, 68%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796EB?+

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