#AA2B9B#AA2B9B

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

Color values

HEX#AA2B9B
RGBrgb(170, 43, 155)
HSLhsl(307, 60%, 42%)
HSVhsv(307, 75%, 67%)
CMYKcmyk(0%, 74.7%, 8.8%, 33.3%)
CIE-LABlab(42.22, 62.24, -32.89)
CIE-LCHlch(42.22, 70.40, 332.15°)
OKLaboklab(52.85% 0.18 -0.0902)
OKLCHoklch(52.85% 0.201 333.4)
XYZxyz(23.3580, 12.6424, 32.2140)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B9B #2BAA3A
analogous
#7A2BAA #AA2B9B #AA2B5B
triadic
#AA2B9B #9BAA2B #2B9BAA
tetradic
#AA2B9B #AA7A2B #2BAA3A #2B5BAA
square
#AA2B9B #AA7A2B #2BAA3A #2B5BAA
split-complementary
#AA2B9B #5BAA2B #2BAA7A
monochromatic
#481242 #791F6E #AA2B9B #CF43BF #DC74CF

Accessibility & contrast

On white

5.95
#AA2B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2B9B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B9B#FFFFFF#000000##FFFFFF
##AA2B9B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#B23860
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2b9b;
/* rgb */ color: rgb(170, 43, 155);
/* oklch */ color: oklch(52.9% 0.201 333.4);
Tailwind
colors: {
  custom: {
    50: '#c772b9',
    500: '#aa2b9b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b9b;
$custom-light: #c772b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b9b",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 307.087,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.20134,
    "h": 333.4
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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