#A797DB Color

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

Color preview

#A797DB

Color formats

HEX
#A797DB
RGB
rgb(167, 151, 219)
RGBA
rgba(167, 151, 219, 1)
HSL
hsl(254, 49%, 73%)
HSV
hsv(254, 31%, 86%)
CMYK
cmyk(24%, 31%, 0%, 14%)
CSS variable
--color-primary: #A797DB;
Lowercase HEX
#a797db

Shades

Tints

Tones

Harmony

CSS snippets for #A797DB

.color-a797db {
  color: #A797DB;
  background-color: #A797DB;
}

Frequently asked questions

What color is #A797DB?+

#A797DB is a HEX color with RGB value rgb(167, 151, 219) and HSL value hsl(254, 49%, 73%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A797DB?+

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