#A797D1 Color

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

Color preview

#A797D1

Color formats

HEX
#A797D1
RGB
rgb(167, 151, 209)
RGBA
rgba(167, 151, 209, 1)
HSL
hsl(257, 39%, 71%)
HSV
hsv(257, 28%, 82%)
CMYK
cmyk(20%, 28%, 0%, 18%)
CSS variable
--color-primary: #A797D1;
Lowercase HEX
#a797d1

Shades

Tints

Tones

Harmony

CSS snippets for #A797D1

.color-a797d1 {
  color: #A797D1;
  background-color: #A797D1;
}

Frequently asked questions

What color is #A797D1?+

#A797D1 is a HEX color with RGB value rgb(167, 151, 209) and HSL value hsl(257, 39%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #A797D1?+

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