#A871D9 Color

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

Color preview

#A871D9

Color formats

HEX
#A871D9
RGB
rgb(168, 113, 217)
RGBA
rgba(168, 113, 217, 1)
HSL
hsl(272, 58%, 65%)
HSV
hsv(272, 48%, 85%)
CMYK
cmyk(23%, 48%, 0%, 15%)
CSS variable
--color-primary: #A871D9;
Lowercase HEX
#a871d9

Shades

Tints

Tones

Harmony

CSS snippets for #A871D9

.color-a871d9 {
  color: #A871D9;
  background-color: #A871D9;
}

Frequently asked questions

What color is #A871D9?+

#A871D9 is a HEX color with RGB value rgb(168, 113, 217) and HSL value hsl(272, 58%, 65%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A871D9?+

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