#A542EB Color

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

Color preview

#A542EB

Color formats

HEX
#A542EB
RGB
rgb(165, 66, 235)
RGBA
rgba(165, 66, 235, 1)
HSL
hsl(275, 81%, 59%)
HSV
hsv(275, 72%, 92%)
CMYK
cmyk(30%, 72%, 0%, 8%)
CSS variable
--color-primary: #A542EB;
Lowercase HEX
#a542eb

Shades

Tints

Tones

Harmony

CSS snippets for #A542EB

.color-a542eb {
  color: #A542EB;
  background-color: #A542EB;
}

Frequently asked questions

What color is #A542EB?+

#A542EB is a HEX color with RGB value rgb(165, 66, 235) and HSL value hsl(275, 81%, 59%). Its closest CSS named color is BlueViolet.

What is the closest Tailwind color to #A542EB?+

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