#A797C2 Color

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

Color preview

#A797C2

Color formats

HEX
#A797C2
RGB
rgb(167, 151, 194)
RGBA
rgba(167, 151, 194, 1)
HSL
hsl(262, 26%, 68%)
HSV
hsv(262, 22%, 76%)
CMYK
cmyk(14%, 22%, 0%, 24%)
CSS variable
--color-primary: #A797C2;
Lowercase HEX
#a797c2

Shades

Tints

Tones

Harmony

CSS snippets for #A797C2

.color-a797c2 {
  color: #A797C2;
  background-color: #A797C2;
}

Frequently asked questions

What color is #A797C2?+

#A797C2 is a HEX color with RGB value rgb(167, 151, 194) and HSL value hsl(262, 26%, 68%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #A797C2?+

The closest Tailwind color is slate-400, available as the bg-slate-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