#A162DF Color

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

Color preview

#A162DF

Color formats

HEX
#A162DF
RGB
rgb(161, 98, 223)
RGBA
rgba(161, 98, 223, 1)
HSL
hsl(270, 66%, 63%)
HSV
hsv(270, 56%, 87%)
CMYK
cmyk(28%, 56%, 0%, 13%)
CSS variable
--color-primary: #A162DF;
Lowercase HEX
#a162df

Shades

Tints

Tones

Harmony

CSS snippets for #A162DF

.color-a162df {
  color: #A162DF;
  background-color: #A162DF;
}

Frequently asked questions

What color is #A162DF?+

#A162DF is a HEX color with RGB value rgb(161, 98, 223) and HSL value hsl(270, 66%, 63%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A162DF?+

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