#A271D5 Color

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

Color preview

#A271D5

Color formats

HEX
#A271D5
RGB
rgb(162, 113, 213)
RGBA
rgba(162, 113, 213, 1)
HSL
hsl(269, 54%, 64%)
HSV
hsv(269, 47%, 84%)
CMYK
cmyk(24%, 47%, 0%, 16%)
CSS variable
--color-primary: #A271D5;
Lowercase HEX
#a271d5

Shades

Tints

Tones

Harmony

CSS snippets for #A271D5

.color-a271d5 {
  color: #A271D5;
  background-color: #A271D5;
}

Frequently asked questions

What color is #A271D5?+

#A271D5 is a HEX color with RGB value rgb(162, 113, 213) and HSL value hsl(269, 54%, 64%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A271D5?+

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