#AA2EA9#AA2EA9

#AA2EA9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.209 H 328.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AA2EA9
RGBrgb(170, 46, 169)
HSLhsl(300, 57%, 42%)
HSVhsv(300, 73%, 67%)
CMYKcmyk(0%, 72.9%, 0.6%, 33.3%)
CIE-LABlab(43.31, 63.49, -39.54)
CIE-LCHlch(43.31, 74.80, 328.09°)
OKLaboklab(53.88% 0.1776 -0.1095)
OKLCHoklch(53.88% 0.209 328.3)
XYZxyz(24.7157, 13.3664, 38.8066)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EA9 #2EAA2F
analogous
#6D2EAA #AA2EA9 #AA2E6B
triadic
#AA2EA9 #A9AA2E #2EA9AA
tetradic
#AA2EA9 #AA6D2E #2EAA2F #2E6BAA
square
#AA2EA9 #AA6D2E #2EAA2F #2E6BAA
split-complementary
#AA2EA9 #6BAA2E #2EAA6D
monochromatic
#4A1449 #7A2179 #AA2EA9 #CD48CC #DA78DA

Accessibility & contrast

On white

5.72
#AA2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AA2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EA9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EA9#FFFFFF#000000##FFFFFF
##AA2EA91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAC
Deuteranopia (green-blind)
#506CA6
Tritanopia (blue-blind)
#B04169
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2ea9;
/* rgb */ color: rgb(170, 46, 169);
/* oklch */ color: oklch(53.9% 0.209 328.3);
Tailwind
colors: {
  custom: {
    50: '#c774c3',
    500: '#aa2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ea9;
$custom-light: #c774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ea9",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 300.484,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.20863,
    "h": 328.3
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#AA2EA9
secondary
#71C372
accent
#E14847
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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