#AA66CC color

#AA66CC is rgb(170, 102, 204) in RGB and hsl(280, 50%, 60%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 4.3). Use black text on it (contrast 5.48:1).

#AA66CCmagenta
HEX#AA66CC
Short HEX#A6C
RGBrgb(170, 102, 204)
RGB percentrgb(66.7%, 40%, 80%)
HSLhsl(280, 50%, 60%)
HSV / HSBhsv(280, 50%, 80%)
CMYKcmyk(17%, 50%, 0%, 20%)

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

About #AA66CC

#AA66CC is a light, saturated 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 204 (80%) and green the weakest at 102 (40%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#AA66CC
Short HEX#A6C
RGBrgb(170, 102, 204)
RGB percentrgb(66.7%, 40%, 80%)
HSLhsl(280, 50%, 60%)
HSV / HSBhsv(280, 50%, 80%)
CMYKcmyk(17%, 50%, 0%, 20%)
CIELAB (D65)lab(54.5 45 -42.3)
Decimal11167436
Binary10101010 01100110 11001100

HEX AA 66 CC → 170, 102, 204 (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 #AA66CC

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA66CCRatioAA normalAA largeAAA normalAAA large
White text3.83:1FailPassFailFail
Black text5.48:1PassPassFailPass
White text on #AA66CC
Black text on #AA66CC
#AA66CC text on white
#AA66CC text on black

Relative luminance is 0.2241 (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
#4f7ecf

Deuteranopia
#6384c9

Tritanopia
#a77690

Achromatopsia
#828282

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 21.1). 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
mediumorchid#ba55d34.3
mediumpurple#9370db6.7
orchid#da70d69.7
mediumslateblue#7b68ee11.7

Nearby colors

CSS

.element {
  color: #aa66cc;
  background-color: rgb(170, 102, 204);
  border: 1px solid hsl(280, 50%, 60%);
  box-shadow: 0 2px 8px rgb(170 102 204 / 50%);
}
:root { --brand: #aa66cc; }

Frequently asked questions

What color is #AA66CC?
A light saturated magenta in the purple family. Closest CSS name: mediumorchid.
What is #AA66CC in RGB?
rgb(170, 102, 204): red 170, green 102, blue 204.
What is the complementary color of #AA66CC?
#88CC66, found by rotating the hue 180°.