#A798B5 Color

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

Color preview

#A798B5

Color formats

HEX
#A798B5
RGB
rgb(167, 152, 181)
RGBA
rgba(167, 152, 181, 1)
HSL
hsl(271, 16%, 65%)
HSV
hsv(271, 16%, 71%)
CMYK
cmyk(8%, 16%, 0%, 29%)
CSS variable
--color-primary: #A798B5;
Lowercase HEX
#a798b5

Shades

Tints

Tones

Harmony

CSS snippets for #A798B5

.color-a798b5 {
  color: #A798B5;
  background-color: #A798B5;
}

Frequently asked questions

What color is #A798B5?+

#A798B5 is a HEX color with RGB value rgb(167, 152, 181) and HSL value hsl(271, 16%, 65%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #A798B5?+

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