#AA22FF color

#AA22FF is rgb(170, 34, 255) in RGB and hsl(277, 100%, 57%) in HSL. The closest CSS named color is blueviolet (#8a2be2, ΔE 6.3). Use white text on it (contrast 4.79:1).

#AA22FFpurple
HEX#AA22FF
Short HEX#A2F
RGBrgb(170, 34, 255)
RGB percentrgb(66.7%, 13.3%, 100%)
HSLhsl(277, 100%, 57%)
HSV / HSBhsv(277, 87%, 100%)
CMYKcmyk(33%, 87%, 0%, 0%)

Edit in the color converter → · Check contrast → · Shades →

About #AA22FF

#AA22FF is a medium, vivid purple with a hue angle of 277°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 255 (100%) and green the weakest at 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#AA22FF
Short HEX#A2F
RGBrgb(170, 34, 255)
RGB percentrgb(66.7%, 13.3%, 100%)
HSLhsl(277, 100%, 57%)
HSV / HSBhsv(277, 87%, 100%)
CMYKcmyk(33%, 87%, 0%, 0%)
CIELAB (D65)lab(48.1 82.6 -81.2)
Decimal11150079
Binary10101010 00100010 11111111

HEX AA 22 FF → 170, 34, 255 (each pair is a base-16 number: A×16 + A = 170)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #AA22FF

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA22FFRatioAA normalAA largeAAA normalAAA large
White text4.79:1PassPassFailPass
Black text4.38:1FailPassFailFail
White text on #AA22FF
Black text on #AA22FF
#AA22FF text on white
#AA22FF text on black

Relative luminance is 0.1691 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#006fff

Deuteranopia
#0073fb

Tritanopia
#9a6599

Achromatopsia
#727272

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 24.5). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
blueviolet#8a2be26.3
darkorchid#9932cc6.9
darkviolet#9400d38.4
mediumorchid#ba55d310.3

Nearby colors

CSS

.element {
  color: #aa22ff;
  background-color: rgb(170, 34, 255);
  border: 1px solid hsl(277, 100%, 57%);
  box-shadow: 0 2px 8px rgb(170 34 255 / 50%);
}
:root { --brand: #aa22ff; }

Frequently asked questions

What color is #AA22FF?
A medium vivid purple in the purple family. Closest CSS name: blueviolet.
What is #AA22FF in RGB?
rgb(170, 34, 255): red 170, green 34, blue 255.
What is the complementary color of #AA22FF?
#77FF22, found by rotating the hue 180°.