#AA24A7#AA24A7

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

Color values

HEX#AA24A7
RGBrgb(170, 36, 167)
HSLhsl(301, 65%, 40%)
HSVhsv(301, 79%, 67%)
CMYKcmyk(0%, 78.8%, 1.8%, 33.3%)
CIE-LABlab(42.15, 66.17, -40.19)
CIE-LCHlch(42.15, 77.42, 328.73°)
OKLaboklab(53.02% 0.1862 -0.1113)
OKLCHoklch(53.02% 0.217 329.1)
XYZxyz(24.1833, 12.5997, 37.7100)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA24A7 #24AA27
analogous
#6A24AA #AA24A7 #AA2464
triadic
#AA24A7 #A7AA24 #24A7AA
tetradic
#AA24A7 #AA6A24 #24AA27 #2464AA
square
#AA24A7 #AA6A24 #24AA27 #2464AA
split-complementary
#AA24A7 #64AA24 #24AA6A
monochromatic
#450F44 #771975 #AA24A7 #D537D1 #DF69DD

Accessibility & contrast

On white

5.97
#AA24A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA24A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA24A7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA24A7#FFFFFF#000000##FFFFFF
##AA24A71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258AA
Deuteranopia (green-blind)
#4D6AA4
Tritanopia (blue-blind)
#B03A66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa24a7;
/* rgb */ color: rgb(170, 36, 167);
/* oklch */ color: oklch(53.0% 0.217 329.1);
Tailwind
colors: {
  custom: {
    50: '#c770c2',
    500: '#aa24a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa24a7;
$custom-light: #c770c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa24a7",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 301.343,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.21689,
    "h": 329.1
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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