#A170D1 Color

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

Color preview

#A170D1

Color formats

HEX
#A170D1
RGB
rgb(161, 112, 209)
RGBA
rgba(161, 112, 209, 1)
HSL
hsl(270, 51%, 63%)
HSV
hsv(270, 46%, 82%)
CMYK
cmyk(23%, 46%, 0%, 18%)
CSS variable
--color-primary: #A170D1;
Lowercase HEX
#a170d1

Shades

Tints

Tones

Harmony

CSS snippets for #A170D1

.color-a170d1 {
  color: #A170D1;
  background-color: #A170D1;
}

Frequently asked questions

What color is #A170D1?+

#A170D1 is a HEX color with RGB value rgb(161, 112, 209) and HSL value hsl(270, 51%, 63%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A170D1?+

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