#AA24A2#AA24A2

#AA24A2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.213 H 330.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AA24A2
RGBrgb(170, 36, 162)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 79%, 67%)
CMYKcmyk(0%, 78.8%, 4.7%, 33.3%)
CIE-LABlab(41.87, 65.39, -37.64)
CIE-LCHlch(41.87, 75.45, 330.07°)
OKLaboklab(52.73% 0.1862 -0.1039)
OKLCHoklch(52.73% 0.213 330.8)
XYZxyz(23.7300, 12.4184, 35.3226)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA24A2 #24AA2C
analogous
#6F24AA #AA24A2 #AA245F
triadic
#AA24A2 #A2AA24 #24A2AA
tetradic
#AA24A2 #AA6F24 #24AA2C #245FAA
square
#AA24A2 #AA6F24 #24AA2C #245FAA
split-complementary
#AA24A2 #5FAA24 #24AA6F
monochromatic
#450F42 #771972 #AA24A2 #D537CB #DF69D8

Accessibility & contrast

On white

6.03
#AA24A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA24A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA24A2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA24A2#FFFFFF#000000##FFFFFF
##AA24A21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#B13763
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa24a2;
/* rgb */ color: rgb(170, 36, 162);
/* oklch */ color: oklch(52.7% 0.213 330.8);
Tailwind
colors: {
  custom: {
    50: '#c76fbe',
    500: '#aa24a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa24a2;
$custom-light: #c76fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa24a2",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 303.582,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.21324,
    "h": 330.8
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#AA24A2
secondary
#65C56A
accent
#E84A40
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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