#AA66FF color

#AA66FF is rgb(170, 102, 255) in RGB and hsl(267, 100%, 70%) in HSL. The closest CSS named color is mediumpurple (#9370db, ΔE 6.4). Use black text on it (contrast 6.05:1).

#AA66FFpurple
HEX#AA66FF
Short HEX#A6F
RGBrgb(170, 102, 255)
RGB percentrgb(66.7%, 40%, 100%)
HSLhsl(267, 100%, 70%)
HSV / HSBhsv(267, 60%, 100%)
CMYKcmyk(33%, 60%, 0%, 0%)

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

About #AA66FF

#AA66FF is a light, vivid purple with a hue angle of 267°. It belongs to the purple family and reads as a cool color. In the RGB model blue is the strongest channel at 255 (100%) and green the weakest at 102 (40%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#AA66FF
Short HEX#A6F
RGBrgb(170, 102, 255)
RGB percentrgb(66.7%, 40%, 100%)
HSLhsl(267, 100%, 70%)
HSV / HSBhsv(267, 60%, 100%)
CMYKcmyk(33%, 60%, 0%, 0%)
CIELAB (D65)lab(57.3 56.6 -66.3)
Decimal11167487
Binary10101010 01100110 11111111

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

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #AA66FFRatioAA normalAA largeAAA normalAAA large
White text3.47:1FailPassFailFail
Black text6.05:1PassPassFailPass
White text on #AA66FF
Black text on #AA66FF
#AA66FF text on white
#AA66FF text on black

Relative luminance is 0.2527 (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
#0089ff

Deuteranopia
#3489fc

Tritanopia
#9886a9

Achromatopsia
#8a8a8a

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 22.9). 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#9370db6.4
mediumslateblue#7b68ee8.4
mediumorchid#ba55d38.6
orchid#da70d613.1

Nearby colors

CSS

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

Frequently asked questions

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