#A797F0 Color

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

Color preview

#A797F0

Color formats

HEX
#A797F0
RGB
rgb(167, 151, 240)
RGBA
rgba(167, 151, 240, 1)
HSL
hsl(251, 75%, 77%)
HSV
hsv(251, 37%, 94%)
CMYK
cmyk(30%, 37%, 0%, 6%)
CSS variable
--color-primary: #A797F0;
Lowercase HEX
#a797f0

Shades

Tints

Tones

Harmony

CSS snippets for #A797F0

.color-a797f0 {
  color: #A797F0;
  background-color: #A797F0;
}

Frequently asked questions

What color is #A797F0?+

#A797F0 is a HEX color with RGB value rgb(167, 151, 240) and HSL value hsl(251, 75%, 77%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A797F0?+

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