#AA66BB color

#AA66BB is rgb(170, 102, 187) in RGB and hsl(288, 38%, 57%) in HSL. The closest CSS named color is mediumorchid (#ba55d3, ΔE 5.7). Use black text on it (contrast 5.33:1).

#AA66BBmagenta
HEX#AA66BB
Short HEX#A6B
RGBrgb(170, 102, 187)
RGB percentrgb(66.7%, 40%, 73.3%)
HSLhsl(288, 38%, 57%)
HSV / HSBhsv(288, 45%, 73%)
CMYKcmyk(9%, 45%, 0%, 27%)

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

About #AA66BB

#AA66BB is a medium, muted magenta with a hue angle of 288°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 187 (73%) and green the weakest at 102 (40%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#AA66BB
Short HEX#A6B
RGBrgb(170, 102, 187)
RGB percentrgb(66.7%, 40%, 73.3%)
HSLhsl(288, 38%, 57%)
HSV / HSBhsv(288, 45%, 73%)
CMYKcmyk(9%, 45%, 0%, 27%)
CIELAB (D65)lab(53.6 41.4 -33.8)
Decimal11167419
Binary10101010 01100110 10111011

HEX AA 66 BB → 170, 102, 187 (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 #AA66BB

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA66BBRatioAA normalAA largeAAA normalAAA large
White text3.94:1FailPassFailFail
Black text5.33:1PassPassFailPass
White text on #AA66BB
Black text on #AA66BB
#AA66BB text on white
#AA66BB text on black

Relative luminance is 0.2164 (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
#597bbe

Deuteranopia
#6c83b9

Tritanopia
#ab7188

Achromatopsia
#808080

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 20.4). 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#ba55d35.7
mediumpurple#9370db9.2
orchid#da70d69.6
darkorchid#9932cc13.4

Nearby colors

CSS

.element {
  color: #aa66bb;
  background-color: rgb(170, 102, 187);
  border: 1px solid hsl(288, 38%, 57%);
  box-shadow: 0 2px 8px rgb(170 102 187 / 50%);
}
:root { --brand: #aa66bb; }

Frequently asked questions

What color is #AA66BB?
A medium muted magenta in the purple family. Closest CSS name: mediumorchid.
What is #AA66BB in RGB?
rgb(170, 102, 187): red 170, green 102, blue 187.
What is the complementary color of #AA66BB?
#77BB66, found by rotating the hue 180°.