#A798F6 Color

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

Color preview

#A798F6

Color formats

HEX
#A798F6
RGB
rgb(167, 152, 246)
RGBA
rgba(167, 152, 246, 1)
HSL
hsl(250, 84%, 78%)
HSV
hsv(250, 38%, 96%)
CMYK
cmyk(32%, 38%, 0%, 4%)
CSS variable
--color-primary: #A798F6;
Lowercase HEX
#a798f6

Shades

Tints

Tones

Harmony

CSS snippets for #A798F6

.color-a798f6 {
  color: #A798F6;
  background-color: #A798F6;
}

Frequently asked questions

What color is #A798F6?+

#A798F6 is a HEX color with RGB value rgb(167, 152, 246) and HSL value hsl(250, 84%, 78%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #A798F6?+

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