#A166C9 Color

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

Color preview

#A166C9

Color formats

HEX
#A166C9
RGB
rgb(161, 102, 201)
RGBA
rgba(161, 102, 201, 1)
HSL
hsl(276, 48%, 59%)
HSV
hsv(276, 49%, 79%)
CMYK
cmyk(20%, 49%, 0%, 21%)
CSS variable
--color-primary: #A166C9;
Lowercase HEX
#a166c9

Shades

Tints

Tones

Harmony

CSS snippets for #A166C9

.color-a166c9 {
  color: #A166C9;
  background-color: #A166C9;
}

Frequently asked questions

What color is #A166C9?+

#A166C9 is a HEX color with RGB value rgb(161, 102, 201) and HSL value hsl(276, 48%, 59%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A166C9?+

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