#A271FD Color

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

Color preview

#A271FD

Color formats

HEX
#A271FD
RGB
rgb(162, 113, 253)
RGBA
rgba(162, 113, 253, 1)
HSL
hsl(261, 97%, 72%)
HSV
hsv(261, 55%, 99%)
CMYK
cmyk(36%, 55%, 0%, 1%)
CSS variable
--color-primary: #A271FD;
Lowercase HEX
#a271fd

Shades

Tints

Tones

Harmony

CSS snippets for #A271FD

.color-a271fd {
  color: #A271FD;
  background-color: #A271FD;
}

Frequently asked questions

What color is #A271FD?+

#A271FD is a HEX color with RGB value rgb(162, 113, 253) and HSL value hsl(261, 97%, 72%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A271FD?+

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