#AA2E9C#AA2E9C

#AA2E9C is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.2% C 0.199 H 333.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AA2E9C
RGBrgb(170, 46, 156)
HSLhsl(307, 57%, 42%)
HSVhsv(307, 73%, 67%)
CMYKcmyk(0%, 72.9%, 8.2%, 33.3%)
CIE-LABlab(42.62, 61.41, -32.87)
CIE-LCHlch(42.62, 69.65, 331.84°)
OKLaboklab(53.15% 0.1772 -0.0902)
OKLCHoklch(53.15% 0.199 333)
XYZxyz(23.5554, 12.9023, 32.6958)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E9C #2EAA3C
analogous
#7A2EAA #AA2E9C #AA2E5E
triadic
#AA2E9C #9CAA2E #2E9CAA
tetradic
#AA2E9C #AA7A2E #2EAA3C #2E5EAA
square
#AA2E9C #AA7A2E #2EAA3C #2E5EAA
split-complementary
#AA2E9C #5EAA2E #2EAA7A
monochromatic
#4A1444 #7A2170 #AA2E9C #CD48BE #DA78CF

Accessibility & contrast

On white

5.87
#AA2E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA2E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E9C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E9C#FFFFFF#000000##FFFFFF
##AA2E9C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#B23A62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2e9c;
/* rgb */ color: rgb(170, 46, 156);
/* oklch */ color: oklch(53.2% 0.199 333.0);
Tailwind
colors: {
  custom: {
    50: '#c773b9',
    500: '#aa2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e9c;
$custom-light: #c773b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e9c",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 306.774,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.19881,
    "h": 333
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#AA2E9C
secondary
#71C37A
accent
#E15847
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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