#A270B2 Color

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

Color preview

#A270B2

Color formats

HEX
#A270B2
RGB
rgb(162, 112, 178)
RGBA
rgba(162, 112, 178, 1)
HSL
hsl(285, 30%, 57%)
HSV
hsv(285, 37%, 70%)
CMYK
cmyk(9%, 37%, 0%, 30%)
CSS variable
--color-primary: #A270B2;
Lowercase HEX
#a270b2

Shades

Tints

Tones

Harmony

CSS snippets for #A270B2

.color-a270b2 {
  color: #A270B2;
  background-color: #A270B2;
}

Frequently asked questions

What color is #A270B2?+

#A270B2 is a HEX color with RGB value rgb(162, 112, 178) and HSL value hsl(285, 30%, 57%). Its closest CSS named color is MediumPurple.

What is the closest Tailwind color to #A270B2?+

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