#A796F1 Color

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

Color preview

#A796F1

Color formats

HEX
#A796F1
RGB
rgb(167, 150, 241)
RGBA
rgba(167, 150, 241, 1)
HSL
hsl(251, 76%, 77%)
HSV
hsv(251, 38%, 95%)
CMYK
cmyk(31%, 38%, 0%, 5%)
CSS variable
--color-primary: #A796F1;
Lowercase HEX
#a796f1

Shades

Tints

Tones

Harmony

CSS snippets for #A796F1

.color-a796f1 {
  color: #A796F1;
  background-color: #A796F1;
}

Frequently asked questions

What color is #A796F1?+

#A796F1 is a HEX color with RGB value rgb(167, 150, 241) and HSL value hsl(251, 76%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A796F1?+

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