#AA66EA

A color in the Purple, Crimson, Magenta family

#aa66ea is a color in the Purple, Crimson, Magenta family: RGB(170, 102, 234), HSL(271°, 76%, 66%), CMYK(27%, 56%, 0%, 8%). Closest named color: mediumpurple. Contrast is 3.62:1 on white and 5.8:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aa66ea
RGBrgb(170 102 234)
RGB (legacy)rgb(170, 102, 234)
RGB %rgb(67% 40% 92%)
HSLhsl(271 76% 66%)
HSV / HSBhsv(271, 56%, 92%)
HWBhwb(271 40% 8%)
CMYKcmyk(27%, 56%, 0%, 8%)
CIELAB (D50)lab(55.54 46.32 -57.11)
LCHlch(55.54 73.53 309.04)
OKLaboklab(0.6433 0.1132 -0.1597)
OKLCHoklch(0.6433 0.1957 305.34)
Decimal11167466

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 4.9
Closest web-safe color#9966ff
Hue271°
Saturation (HSL / HSV)76% / 56%
Lightness (HSL)66%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)54% / 49%
Relative luminance (WCAG)0.2399
Red / Green / Blue170 / 102 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.62:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.80:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 63.4 / -38.3 · As background with white / black text: Lc -68.9 / 40.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #aa66ea;
  --color-brand-oklch: oklch(64.33% 0.1957 305.34);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 102 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa66ea] text-[#aa66ea] border-[#aa66ea]">