#A798F1 Color

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

Color preview

#A798F1

Color formats

HEX
#A798F1
RGB
rgb(167, 152, 241)
RGBA
rgba(167, 152, 241, 1)
HSL
hsl(250, 76%, 77%)
HSV
hsv(250, 37%, 95%)
CMYK
cmyk(31%, 37%, 0%, 5%)
CSS variable
--color-primary: #A798F1;
Lowercase HEX
#a798f1

Shades

Tints

Tones

Harmony

CSS snippets for #A798F1

.color-a798f1 {
  color: #A798F1;
  background-color: #A798F1;
}

Frequently asked questions

What color is #A798F1?+

#A798F1 is a HEX color with RGB value rgb(167, 152, 241) and HSL value hsl(250, 76%, 77%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #A798F1?+

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