#AA66EE color

#AA66EE is rgb(170, 102, 238) in RGB and hsl(270, 80%, 67%) in HSL. The closest CSS named color is mediumpurple (#9370db, ΔE 5.3). Use black text on it (contrast 5.84:1).

#AA66EEpurple
HEX#AA66EE
Short HEX#A6E
RGBrgb(170, 102, 238)
RGB percentrgb(66.7%, 40%, 93.3%)
HSLhsl(270, 80%, 67%)
HSV / HSBhsv(270, 57%, 93%)
CMYKcmyk(29%, 57%, 0%, 7%)

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

About #AA66EE

#AA66EE is a light, vivid purple with a hue angle of 270°. 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 102 (40%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.

Color conversions

HEX#AA66EE
Short HEX#A6E
RGBrgb(170, 102, 238)
RGB percentrgb(66.7%, 40%, 93.3%)
HSLhsl(270, 80%, 67%)
HSV / HSBhsv(270, 57%, 93%)
CMYKcmyk(29%, 57%, 0%, 7%)
CIELAB (D65)lab(56.3 52.6 -58.5)
Decimal11167470
Binary10101010 01100110 11101110

HEX AA 66 EE → 170, 102, 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 #AA66EE

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA66EERatioAA normalAA largeAAA normalAAA large
White text3.59:1FailPassFailFail
Black text5.84:1PassPassFailPass
White text on #AA66EE
Black text on #AA66EE
#AA66EE text on white
#AA66EE text on black

Relative luminance is 0.2422 (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
#2d85f2

Deuteranopia
#4987eb

Tritanopia
#9e81a0

Achromatopsia
#878787

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 22.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
mediumpurple#9370db5.3
mediumorchid#ba55d36.7
mediumslateblue#7b68ee8.7
orchid#da70d611.8

Nearby colors

CSS

.element {
  color: #aa66ee;
  background-color: rgb(170, 102, 238);
  border: 1px solid hsl(270, 80%, 67%);
  box-shadow: 0 2px 8px rgb(170 102 238 / 50%);
}
:root { --brand: #aa66ee; }

Frequently asked questions

What color is #AA66EE?
A light vivid purple in the purple family. Closest CSS name: mediumpurple.
What is #AA66EE in RGB?
rgb(170, 102, 238): red 170, green 102, blue 238.
What is the complementary color of #AA66EE?
#AAEE66, found by rotating the hue 180°.