#AA2B9E#AA2B9E

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

Color values

HEX#AA2B9E
RGBrgb(170, 43, 158)
HSLhsl(306, 60%, 42%)
HSVhsv(306, 75%, 67%)
CMYKcmyk(0%, 74.7%, 7.1%, 33.3%)
CIE-LABlab(42.38, 62.70, -34.45)
CIE-LCHlch(42.38, 71.54, 331.22°)
OKLaboklab(53.02% 0.1802 -0.0947)
OKLCHoklch(53.02% 0.204 332.3)
XYZxyz(23.6131, 12.7444, 33.5574)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B9E #2BAA37
analogous
#772BAA #AA2B9E #AA2B5F
triadic
#AA2B9E #9EAA2B #2B9EAA
tetradic
#AA2B9E #AA772B #2BAA37 #2B5FAA
square
#AA2B9E #AA772B #2BAA37 #2B5FAA
split-complementary
#AA2B9E #5FAA2B #2BAA77
monochromatic
#481243 #791F71 #AA2B9E #CF43C2 #DC74D2

Accessibility & contrast

On white

5.92
#AA2B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA2B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B9E
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B9E#FFFFFF#000000##FFFFFF
##AA2B9E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2b9e;
/* rgb */ color: rgb(170, 43, 158);
/* oklch */ color: oklch(53.0% 0.204 332.3);
Tailwind
colors: {
  custom: {
    50: '#c772bb',
    500: '#aa2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b9e;
$custom-light: #c772bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b9e",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 305.669,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53016,
    "c": 0.20353,
    "h": 332.3
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#AA2B9E
secondary
#6EC376
accent
#E35445
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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