#A798EB Color

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

Color preview

#A798EB

Color formats

HEX
#A798EB
RGB
rgb(167, 152, 235)
RGBA
rgba(167, 152, 235, 1)
HSL
hsl(251, 67%, 76%)
HSV
hsv(251, 35%, 92%)
CMYK
cmyk(29%, 35%, 0%, 8%)
CSS variable
--color-primary: #A798EB;
Lowercase HEX
#a798eb

Shades

Tints

Tones

Harmony

CSS snippets for #A798EB

.color-a798eb {
  color: #A798EB;
  background-color: #A798EB;
}

Frequently asked questions

What color is #A798EB?+

#A798EB is a HEX color with RGB value rgb(167, 152, 235) and HSL value hsl(251, 67%, 76%). Its closest CSS named color is LightSteelBlue.

What is the closest Tailwind color to #A798EB?+

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