#AA22EE color

#AA22EE is rgb(170, 34, 238) in RGB and hsl(280, 86%, 53%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 4.9). Use white text on it (contrast 5.03:1).

#AA22EEmagenta
HEX#AA22EE
Short HEX#A2E
RGBrgb(170, 34, 238)
RGB percentrgb(66.7%, 13.3%, 93.3%)
HSLhsl(280, 86%, 53%)
HSV / HSBhsv(280, 86%, 93%)
CMYKcmyk(29%, 86%, 0%, 7%)

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

About #AA22EE

#AA22EE is a medium, vivid magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 238 (93%) 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#AA22EE
Short HEX#A2E
RGBrgb(170, 34, 238)
RGB percentrgb(66.7%, 13.3%, 93.3%)
HSLhsl(280, 86%, 53%)
HSV / HSBhsv(280, 86%, 93%)
CMYKcmyk(29%, 86%, 0%, 7%)
CIELAB (D65)lab(46.8 79.3 -73.9)
Decimal11150062
Binary10101010 00100010 11101110

HEX AA 22 EE → 170, 34, 238 (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 #AA22EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA22EERatioAA normalAA largeAAA normalAAA large
White text5.03:1PassPassFailPass
Black text4.17:1FailPassFailFail
White text on #AA22EE
Black text on #AA22EE
#AA22EE text on white
#AA22EE text on black

Relative luminance is 0.1586 (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
#006af3

Deuteranopia
#0071ea

Tritanopia
#a05d8f

Achromatopsia
#6f6f6f

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 26.6). 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
darkorchid#9932cc4.9
blueviolet#8a2be25.4
darkviolet#9400d36.7
mediumorchid#ba55d39.8

Nearby colors

CSS

.element {
  color: #aa22ee;
  background-color: rgb(170, 34, 238);
  border: 1px solid hsl(280, 86%, 53%);
  box-shadow: 0 2px 8px rgb(170 34 238 / 50%);
}
:root { --brand: #aa22ee; }

Frequently asked questions

What color is #AA22EE?
A medium vivid magenta in the purple family. Closest CSS name: darkorchid.
What is #AA22EE in RGB?
rgb(170, 34, 238): red 170, green 34, blue 238.
What is the complementary color of #AA22EE?
#66EE22, found by rotating the hue 180°.