#A796FB Color

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

Color preview

#A796FB

Color formats

HEX
#A796FB
RGB
rgb(167, 150, 251)
RGBA
rgba(167, 150, 251, 1)
HSL
hsl(250, 93%, 79%)
HSV
hsv(250, 40%, 98%)
CMYK
cmyk(33%, 40%, 0%, 2%)
CSS variable
--color-primary: #A796FB;
Lowercase HEX
#a796fb

Shades

Tints

Tones

Harmony

CSS snippets for #A796FB

.color-a796fb {
  color: #A796FB;
  background-color: #A796FB;
}

Frequently asked questions

What color is #A796FB?+

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

What is the closest Tailwind color to #A796FB?+

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