#A172B5 Color

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

Color preview

#A172B5

Color formats

HEX
#A172B5
RGB
rgb(161, 114, 181)
RGBA
rgba(161, 114, 181, 1)
HSL
hsl(282, 31%, 58%)
HSV
hsv(282, 37%, 71%)
CMYK
cmyk(11%, 37%, 0%, 29%)
CSS variable
--color-primary: #A172B5;
Lowercase HEX
#a172b5

Shades

Tints

Tones

Harmony

CSS snippets for #A172B5

.color-a172b5 {
  color: #A172B5;
  background-color: #A172B5;
}

Frequently asked questions

What color is #A172B5?+

#A172B5 is a HEX color with RGB value rgb(161, 114, 181) and HSL value hsl(282, 31%, 58%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A172B5?+

The closest Tailwind color is zinc-400, available as the bg-zinc-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