#AA24A1#AA24A1

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

Color values

HEX#AA24A1
RGBrgb(170, 36, 161)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 79%, 67%)
CMYKcmyk(0%, 78.8%, 5.3%, 33.3%)
CIE-LABlab(41.82, 65.23, -37.13)
CIE-LCHlch(41.82, 75.06, 330.35°)
OKLaboklab(52.67% 0.1862 -0.1024)
OKLCHoklch(52.67% 0.213 331.2)
XYZxyz(23.6415, 12.3830, 34.8563)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA24A1 #24AA2D
analogous
#7024AA #AA24A1 #AA245E
triadic
#AA24A1 #A1AA24 #24A1AA
tetradic
#AA24A1 #AA7024 #24AA2D #245EAA
square
#AA24A1 #AA7024 #24AA2D #245EAA
split-complementary
#AA24A1 #5EAA24 #24AA70
monochromatic
#450F41 #771971 #AA24A1 #D537CA #DF69D7

Accessibility & contrast

On white

6.04
#AA24A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA24A1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA24A1#FFFFFF#000000##FFFFFF
##AA24A11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1457A4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#B13662
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa24a1;
/* rgb */ color: rgb(170, 36, 161);
/* oklch */ color: oklch(52.7% 0.213 331.2);
Tailwind
colors: {
  custom: {
    50: '#c76fbd',
    500: '#aa24a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa24a1;
$custom-light: #c76fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa24a1",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 304.03,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.21252,
    "h": 331.2
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#AA24A1
secondary
#65C56B
accent
#E84B40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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