#AA2B9A#AA2B9A

#AA2B9A is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.201 H 333.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AA2B9A
RGBrgb(170, 43, 154)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 74.7%, 9.4%, 33.3%)
CIE-LABlab(42.17, 62.09, -32.37)
CIE-LCHlch(42.17, 70.02, 332.47°)
OKLaboklab(52.8% 0.1799 -0.0887)
OKLCHoklch(52.8% 0.201 333.8)
XYZxyz(23.2744, 12.6089, 31.7736)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B9A #2BAA3B
analogous
#7B2BAA #AA2B9A #AA2B5B
triadic
#AA2B9A #9AAA2B #2B9AAA
tetradic
#AA2B9A #AA7B2B #2BAA3B #2B5BAA
square
#AA2B9A #AA7B2B #2BAA3B #2B5BAA
split-complementary
#AA2B9A #5BAA2B #2BAA7B
monochromatic
#481242 #791F6E #AA2B9A #CF43BE #DC74CF

Accessibility & contrast

On white

5.96
#AA2B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA2B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B9A
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B9A#FFFFFF#000000##FFFFFF
##AA2B9A1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B23760
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2b9a;
/* rgb */ color: rgb(170, 43, 154);
/* oklch */ color: oklch(52.8% 0.201 333.8);
Tailwind
colors: {
  custom: {
    50: '#c772b8',
    500: '#aa2b9a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b9a;
$custom-light: #c772b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b9a",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 307.559,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.528,
    "c": 0.20062,
    "h": 333.8
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#AA2B9A
secondary
#6EC378
accent
#E35945
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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