#A281EB Color

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

Color preview

#A281EB

Color formats

HEX
#A281EB
RGB
rgb(162, 129, 235)
RGBA
rgba(162, 129, 235, 1)
HSL
hsl(259, 73%, 71%)
HSV
hsv(259, 45%, 92%)
CMYK
cmyk(31%, 45%, 0%, 8%)
CSS variable
--color-primary: #A281EB;
Lowercase HEX
#a281eb

Shades

Tints

Tones

Harmony

CSS snippets for #A281EB

.color-a281eb {
  color: #A281EB;
  background-color: #A281EB;
}

Frequently asked questions

What color is #A281EB?+

#A281EB is a HEX color with RGB value rgb(162, 129, 235) and HSL value hsl(259, 73%, 71%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A281EB?+

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