#A798FE Color

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

Color preview

#A798FE

Color formats

HEX
#A798FE
RGB
rgb(167, 152, 254)
RGBA
rgba(167, 152, 254, 1)
HSL
hsl(249, 98%, 80%)
HSV
hsv(249, 40%, 100%)
CMYK
cmyk(34%, 40%, 0%, 0%)
CSS variable
--color-primary: #A798FE;
Lowercase HEX
#a798fe

Shades

Tints

Tones

Harmony

CSS snippets for #A798FE

.color-a798fe {
  color: #A798FE;
  background-color: #A798FE;
}

Frequently asked questions

What color is #A798FE?+

#A798FE is a HEX color with RGB value rgb(167, 152, 254) and HSL value hsl(249, 98%, 80%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #A798FE?+

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