#A796FE Color

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

Color preview

#A796FE

Color formats

HEX
#A796FE
RGB
rgb(167, 150, 254)
RGBA
rgba(167, 150, 254, 1)
HSL
hsl(250, 98%, 79%)
HSV
hsv(250, 41%, 100%)
CMYK
cmyk(34%, 41%, 0%, 0%)
CSS variable
--color-primary: #A796FE;
Lowercase HEX
#a796fe

Shades

Tints

Tones

Harmony

CSS snippets for #A796FE

.color-a796fe {
  color: #A796FE;
  background-color: #A796FE;
}

Frequently asked questions

What color is #A796FE?+

#A796FE is a HEX color with RGB value rgb(167, 150, 254) and HSL value hsl(250, 98%, 79%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796FE?+

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