#AA4EAA

A color in the Purple, Crimson, Magenta family

#aa4eaa is a color in the Purple, Crimson, Magenta family: RGB(170, 78, 170), HSL(300°, 37%, 49%), CMYK(0%, 54%, 0%, 33%). Closest named color: mediumorchid. Contrast is 4.8:1 on white and 4.38:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aa4eaa
RGBrgb(170 78 170)
RGB (legacy)rgb(170, 78, 170)
RGB %rgb(67% 31% 67%)
HSLhsl(300 37% 49%)
HSV / HSBhsv(300, 54%, 67%)
HWBhwb(300 31% 33%)
CMYKcmyk(0%, 54%, 0%, 33%)
CIELAB (D50)lab(48.06 47.78 -32.31)
LCHlch(48.06 57.68 325.94)
OKLaboklab(0.5739 0.1403 -0.0895)
OKLCHoklch(0.5739 0.1664 327.47)
Decimal11161258

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.8
Closest web-safe color#996699
Hue300°
Saturation (HSL / HSV)37% / 54%
Lightness (HSL)49%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)45% / 41%
Relative luminance (WCAG)0.169
Red / Green / Blue170 / 78 / 170

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 72.7 / -28.9 · As background with white / black text: Lc -78.2 / 31.3

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: #aa4eaa;
  --color-brand-oklch: oklch(57.39% 0.1664 327.47);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 78 170 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aa4eaa] text-[#aa4eaa] border-[#aa4eaa]">