#A158F3 Color

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

Color preview

#A158F3

Color formats

HEX
#A158F3
RGB
rgb(161, 88, 243)
RGBA
rgba(161, 88, 243, 1)
HSL
hsl(268, 87%, 65%)
HSV
hsv(268, 64%, 95%)
CMYK
cmyk(34%, 64%, 0%, 5%)
CSS variable
--color-primary: #A158F3;
Lowercase HEX
#a158f3

Shades

Tints

Tones

Harmony

CSS snippets for #A158F3

.color-a158f3 {
  color: #A158F3;
  background-color: #A158F3;
}

Frequently asked questions

What color is #A158F3?+

#A158F3 is a HEX color with RGB value rgb(161, 88, 243) and HSL value hsl(268, 87%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A158F3?+

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