#AA4ECC

A color in the Purple, Crimson, Magenta family

#aa4ecc is a color in the Purple, Crimson, Magenta family: RGB(170, 78, 204), HSL(284°, 55%, 55%), CMYK(17%, 62%, 0%, 20%). Closest named color: mediumorchid. Contrast is 4.5:1 on white and 4.67:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aa4ecc
RGBrgb(170 78 204)
RGB (legacy)rgb(170, 78, 204)
RGB %rgb(67% 31% 80%)
HSLhsl(284 55% 55%)
HSV / HSBhsv(284, 62%, 80%)
HWBhwb(284 31% 20%)
CMYKcmyk(17%, 62%, 0%, 20%)
CIELAB (D50)lab(49.58 52.73 -49.64)
LCHlch(49.58 72.42 316.73)
OKLaboklab(0.5928 0.1425 -0.1386)
OKLCHoklch(0.5928 0.1988 315.79)
Decimal11161292

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 3.5
Closest web-safe color#9966cc
Hue284°
Saturation (HSL / HSV)55% / 62%
Lightness (HSL)55%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)47% / 42%
Relative luminance (WCAG)0.1835
Red / Green / Blue170 / 78 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.50:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.67: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 70.6 / -31.1 · As background with white / black text: Lc -76.1 / 33.5

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