#AA24A5#AA24A5

#AA24A5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.215 H 329.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AA24A5
RGBrgb(170, 36, 165)
HSLhsl(302, 65%, 40%)
HSVhsv(302, 79%, 67%)
CMYKcmyk(0%, 78.8%, 2.9%, 33.3%)
CIE-LABlab(42.04, 65.85, -39.17)
CIE-LCHlch(42.04, 76.62, 329.25°)
OKLaboklab(52.9% 0.1862 -0.1083)
OKLCHoklch(52.9% 0.215 329.8)
XYZxyz(23.9998, 12.5263, 36.7438)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA24A5 #24AA29
analogous
#6C24AA #AA24A5 #AA2462
triadic
#AA24A5 #A5AA24 #24A5AA
tetradic
#AA24A5 #AA6C24 #24AA29 #2462AA
square
#AA24A5 #AA6C24 #24AA29 #2462AA
split-complementary
#AA24A5 #62AA24 #24AA6C
monochromatic
#450F43 #771974 #AA24A5 #D537CF #DF69DB

Accessibility & contrast

On white

5.99
#AA24A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA24A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA24A5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA24A5#FFFFFF#000000##FFFFFF
##AA24A51.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0958A8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#B03964
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa24a5;
/* rgb */ color: rgb(170, 36, 165);
/* oklch */ color: oklch(52.9% 0.215 329.8);
Tailwind
colors: {
  custom: {
    50: '#c770c0',
    500: '#aa24a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa24a5;
$custom-light: #c770c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa24a5",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 302.239,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.529,
    "c": 0.21543,
    "h": 329.8
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#AA24A5
secondary
#65C568
accent
#E84640
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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