#A166D1 Color

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

Color preview

#A166D1

Color formats

HEX
#A166D1
RGB
rgb(161, 102, 209)
RGBA
rgba(161, 102, 209, 1)
HSL
hsl(273, 54%, 61%)
HSV
hsv(273, 51%, 82%)
CMYK
cmyk(23%, 51%, 0%, 18%)
CSS variable
--color-primary: #A166D1;
Lowercase HEX
#a166d1

Shades

Tints

Tones

Harmony

CSS snippets for #A166D1

.color-a166d1 {
  color: #A166D1;
  background-color: #A166D1;
}

Frequently asked questions

What color is #A166D1?+

#A166D1 is a HEX color with RGB value rgb(161, 102, 209) and HSL value hsl(273, 54%, 61%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A166D1?+

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