#A158EA Color

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

Color preview

#A158EA

Color formats

HEX
#A158EA
RGB
rgb(161, 88, 234)
RGBA
rgba(161, 88, 234, 1)
HSL
hsl(270, 78%, 63%)
HSV
hsv(270, 62%, 92%)
CMYK
cmyk(31%, 62%, 0%, 8%)
CSS variable
--color-primary: #A158EA;
Lowercase HEX
#a158ea

Shades

Tints

Tones

Harmony

CSS snippets for #A158EA

.color-a158ea {
  color: #A158EA;
  background-color: #A158EA;
}

Frequently asked questions

What color is #A158EA?+

#A158EA is a HEX color with RGB value rgb(161, 88, 234) and HSL value hsl(270, 78%, 63%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A158EA?+

The closest Tailwind color is purple-500, available as the bg-purple-500 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