#AA2A9E#AA2A9E

#AA2A9E is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.205 H 332.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA2A9E
RGBrgb(170, 42, 158)
HSLhsl(306, 60%, 42%)
HSVhsv(306, 75%, 67%)
CMYKcmyk(0%, 75.3%, 7.1%, 33.3%)
CIE-LABlab(42.27, 63.02, -34.62)
CIE-LCHlch(42.27, 71.90, 331.22°)
OKLaboklab(52.94% 0.1811 -0.0952)
OKLCHoklch(52.94% 0.205 332.3)
XYZxyz(23.5772, 12.6726, 33.5454)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A9E #2AAA36
analogous
#762AAA #AA2A9E #AA2A5E
triadic
#AA2A9E #9EAA2A #2A9EAA
tetradic
#AA2A9E #AA762A #2AAA36 #2A5EAA
square
#AA2A9E #AA762A #2AAA36 #2A5EAA
split-complementary
#AA2A9E #5EAA2A #2AAA76
monochromatic
#481243 #791E70 #AA2A9E #D041C3 #DC72D2

Accessibility & contrast

On white

5.94
#AA2A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA2A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A9E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A9E#FFFFFF#000000##FFFFFF
##AA2A9E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#B13962
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2a9e;
/* rgb */ color: rgb(170, 42, 158);
/* oklch */ color: oklch(52.9% 0.205 332.3);
Tailwind
colors: {
  custom: {
    50: '#c772bb',
    500: '#aa2a9e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a9e;
$custom-light: #c772bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a9e",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 305.625,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.20458,
    "h": 332.3
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#AA2A9E
secondary
#6CC374
accent
#E45344
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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