Maroon Colors  ·  Color Library

Palettes / Colors / #AA2ECC

#AA2ECC — Purple

#AA2ECC is a purple color we call Purple, closest to the named color DarkOrchid (#9932CC). It belongs to the purple family.

Color name

Closest CSS keyword: darkorchid (#9932CC) — not an exact match. CSS darkorchid gives you #9932CC, a different color; use #AA2ECC when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#AA2ECC is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #50CC2E; it also sits naturally between #5B2ECC and #CC2E9F. In the palettes below you can see it working alongside real color combinations from our collection.

#AA2ECC · RGB 170, 46, 204

Download PNG swatch SVG

Color values

HEX#AA2ECC
RGB170, 46, 204
HSL287°, 63%, 49%
HSV287°, 77%, 80%
CMYK17%, 77%, 0%, 20%
XYZ28.45, 14.86, 58.50
Yxy14.86, 0.2795, 0.1460
CIE-Lab45.44, 69.65, -56.65
Hunter Lab38.55, 67.41, -67.59

RGB & CMYK percentages

Red 67% · Green 18% · Blue 80%

Cyan 17% · Magenta 77% · Yellow 0% · Key 20%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #AA2ECC on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #AA2ECC on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #AA2ECC

.text { color: #AA2ECC; }
.background { background-color: #AA2ECC; }
.border { border: 3px solid #AA2ECC; }
.text-rgb { color: rgb(170, 46, 204); }
.text-hsl { color: hsl(287, 63%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AA2ECC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(170, 46, 204, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AA2ECC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(170, 46, 204, 0.8); }

HTML: <p style="color:#AA2ECC">Text here</p> · <div style="background-color:#AA2ECC">Div content here</div>

Shades of #AA2ECC

#9C2ABB#8A26A6#7D2296#6B1D81#5D1970#4C155B#3E114B#2D0C36#1F0825#0E0411

Tints of #AA2ECC

#B440D4#BA50D7#C265DC#CB7AE1#D38FE6#D99FE9#E1B4EE#EAC9F3#F0DAF7#F8EEFB

Tones of #AA2ECC

#A339C0#9D45B5#9650AA#905B9F#8A6693#837288

Color harmonies

Complementary — #50CC2E:

Analogous:

Triadic:

Contrast & accessibility

Against white text5.29:1 AA
Against black text3.97:1 AA large only

Best text color on #AA2ECC: #FFFFFF.

Semi-transparent (opacity) text on #AA2ECC

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #AA2ECC: ·

How #AA2ECC looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #7473A6Deuteranopia · #7C859DTritanopia · #A48881

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind fuchsia 600 · #C026D3Material Purple 500 · #9C27B0Tailwind purple 600 · #9333EA

Palettes with a similar color

These palettes use a close neighbour of #AA2ECC rather than the exact color:

Hidden Ruby Harbor
#C06ADD · #A52CCE · #9225B6 · #3F134D
Tranquil Voyage
#2CB89D · #A72FC4 · #C7A92F · #D5F0EA
Wild Ruby Opal
#3D1E6C · #A937CA · #5B2253 · #8D305D
Serene Ruby Whisper
#1B8F79 · #A825C7 · #E0C658 · #D4F2F1
Crystal Horizon
#317C17 · #91E677 · #A827D4 · #D3A9E9
Gentle Ruby Zephyr
#5526C5 · #A930C0 · #D63297 · #DA3C48

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#A52CCE#A72FC4#A937CA#A825C7#A827D4#A930C0#A437C6#B533CF#A73BD1#AD2FDA#AC3BD3#A632BE

Browse neighbouring colors

← #AA2ECB  ·  #AA2ECD →

Frequently asked questions

What color is #AA2ECC?

#AA2ECC is Purple, a purple color (RGB 170, 46, 204). Its closest standard named color is DarkOrchid.

What is the RGB and HSL of #AA2ECC?

#AA2ECC is RGB 170, 46, 204 — HSL 287°, 63%, 49% — CMYK 17%, 77%, 0%, 20%.

What colors go with #AA2ECC?

Its complement is #50CC2E; analogous partners are #5B2ECC and #CC2E9F. It also appears in 6+ palettes in our collection.

Can I use #AA2ECC for text?

White text on #AA2ECC has a contrast ratio of 5.29:1 (passes WCAG AA); black text gives 3.97:1.