#A281FE Color

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

Color preview

#A281FE

Color formats

HEX
#A281FE
RGB
rgb(162, 129, 254)
RGBA
rgba(162, 129, 254, 1)
HSL
hsl(256, 98%, 75%)
HSV
hsv(256, 49%, 100%)
CMYK
cmyk(36%, 49%, 0%, 0%)
CSS variable
--color-primary: #A281FE;
Lowercase HEX
#a281fe

Shades

Tints

Tones

Harmony

CSS snippets for #A281FE

.color-a281fe {
  color: #A281FE;
  background-color: #A281FE;
}

Frequently asked questions

What color is #A281FE?+

#A281FE is a HEX color with RGB value rgb(162, 129, 254) and HSL value hsl(256, 98%, 75%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A281FE?+

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