#A798D1 Color

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

Color preview

#A798D1

Color formats

HEX
#A798D1
RGB
rgb(167, 152, 209)
RGBA
rgba(167, 152, 209, 1)
HSL
hsl(256, 38%, 71%)
HSV
hsv(256, 27%, 82%)
CMYK
cmyk(20%, 27%, 0%, 18%)
CSS variable
--color-primary: #A798D1;
Lowercase HEX
#a798d1

Shades

Tints

Tones

Harmony

CSS snippets for #A798D1

.color-a798d1 {
  color: #A798D1;
  background-color: #A798D1;
}

Frequently asked questions

What color is #A798D1?+

#A798D1 is a HEX color with RGB value rgb(167, 152, 209) and HSL value hsl(256, 38%, 71%). Its closest CSS named color is DarkGray.

What is the closest Tailwind color to #A798D1?+

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