#AA24A6#AA24A6

#AA24A6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.216 H 329.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA24A6
RGBrgb(170, 36, 166)
HSLhsl(302, 65%, 40%)
HSVhsv(302, 79%, 67%)
CMYKcmyk(0%, 78.8%, 2.4%, 33.3%)
CIE-LABlab(42.10, 66.01, -39.68)
CIE-LCHlch(42.10, 77.02, 328.99°)
OKLaboklab(52.96% 0.1862 -0.1098)
OKLCHoklch(52.96% 0.216 329.5)
XYZxyz(24.0912, 12.5629, 37.2250)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA24A6 #24AA28
analogous
#6B24AA #AA24A6 #AA2463
triadic
#AA24A6 #A6AA24 #24A6AA
tetradic
#AA24A6 #AA6B24 #24AA28 #2463AA
square
#AA24A6 #AA6B24 #24AA28 #2463AA
split-complementary
#AA24A6 #63AA24 #24AA6B
monochromatic
#450F43 #771975 #AA24A6 #D537D0 #DF69DC

Accessibility & contrast

On white

5.98
#AA24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA24A6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA24A6#FFFFFF#000000##FFFFFF
##AA24A61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0558A9
Deuteranopia (green-blind)
#4E69A3
Tritanopia (blue-blind)
#B03965
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa24a6;
/* rgb */ color: rgb(170, 36, 166);
/* oklch */ color: oklch(53.0% 0.216 329.5);
Tailwind
colors: {
  custom: {
    50: '#c770c1',
    500: '#aa24a6',
    950: '#000000',
  },
}
SCSS
$custom: #aa24a6;
$custom-light: #c770c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa24a6",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 301.791,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.21616,
    "h": 329.5
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#AA24A6
secondary
#65C567
accent
#E84540
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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