#AA2EC9#AA2EC9

#AA2EC9 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.9% C 0.234 H 318.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AA2EC9
RGBrgb(170, 46, 201)
HSLhsl(288, 63%, 48%)
HSVhsv(288, 77%, 79%)
CMYKcmyk(15.4%, 77.1%, 0%, 21.2%)
CIE-LABlab(45.25, 69.08, -55.22)
CIE-LCHlch(45.25, 88.44, 321.36°)
OKLaboklab(55.88% 0.1754 -0.1553)
OKLCHoklch(55.88% 0.234 318.5)
XYZxyz(28.0957, 14.7184, 56.6080)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EC9 #4DC92E
analogous
#5C2EC9 #AA2EC9 #C92E9A
triadic
#AA2EC9 #C9AA2E #2EC9AA
tetradic
#AA2EC9 #C95C2E #4DC92E #2E9AC9
square
#AA2EC9 #C95C2E #4DC92E #2E9AC9
split-complementary
#AA2EC9 #9AC92E #2EC95C
monochromatic
#561765 #802397 #AA2EC9 #C05BD9 #D38DE5

Accessibility & contrast

On white

5.33
#AA2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AA2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EC9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EC9#FFFFFF#000000##FFFFFF
##AA2EC91.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#376FC6
Tritanopia (blue-blind)
#A9507B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa2ec9;
/* rgb */ color: rgb(170, 46, 201);
/* oklch */ color: oklch(55.9% 0.234 318.5);
Tailwind
colors: {
  custom: {
    50: '#c875da',
    500: '#aa2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ec9;
$custom-light: #c875da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ec9",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 288,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55875,
    "c": 0.23429,
    "h": 318.5
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#AA2EC9
secondary
#93CF84
accent
#E64263
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA2EC9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AA2EC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva