#AA24B1#AA24B1

#AA24B1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.224 H 325.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA24B1
RGBrgb(170, 36, 177)
HSLhsl(297, 66%, 42%)
HSVhsv(297, 80%, 69%)
CMYKcmyk(4%, 79.7%, 0%, 30.6%)
CIE-LABlab(42.74, 67.79, -45.20)
CIE-LCHlch(42.74, 81.47, 326.31°)
OKLaboklab(53.62% 0.1857 -0.1259)
OKLCHoklch(53.62% 0.224 325.9)
XYZxyz(25.1437, 12.9839, 42.7683)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA24B1 #2BB124
analogous
#6424B1 #AA24B1 #B12472
triadic
#AA24B1 #B1AA24 #24B1AA
tetradic
#AA24B1 #B16424 #2BB124 #2472B1
square
#AA24B1 #B16424 #2BB124 #2472B1
split-complementary
#AA24B1 #72B124 #24B164
monochromatic
#480F4B #791A7E #AA24B1 #CF3BD7 #DC6EE1

Accessibility & contrast

On white

5.84
#AA24B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA24B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA24B1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA24B1#FFFFFF#000000##FFFFFF
##AA24B11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#AE3F6B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa24b1;
/* rgb */ color: rgb(170, 36, 177);
/* oklch */ color: oklch(53.6% 0.224 325.9);
Tailwind
colors: {
  custom: {
    50: '#c770c9',
    500: '#aa24b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa24b1;
$custom-light: #c770c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa24b1",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 297.021,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.22434,
    "h": 325.9
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#AA24B1
secondary
#6EC869
accent
#E93F47
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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