#AA23A9#AA23A9

#AA23A9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.219 H 328.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AA23A9
RGBrgb(170, 35, 169)
HSLhsl(300, 66%, 40%)
HSVhsv(300, 79%, 67%)
CMYKcmyk(0%, 79.4%, 0.6%, 33.3%)
CIE-LABlab(42.18, 66.75, -41.34)
CIE-LCHlch(42.18, 78.52, 328.23°)
OKLaboklab(53.07% 0.1868 -0.1146)
OKLCHoklch(53.07% 0.219 328.5)
XYZxyz(24.3398, 12.6145, 38.6813)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23A9 #23AA24
analogous
#6723AA #AA23A9 #AA2366
triadic
#AA23A9 #A9AA23 #23A9AA
tetradic
#AA23A9 #AA6723 #23AA24 #2366AA
square
#AA23A9 #AA6723 #23AA24 #2366AA
split-complementary
#AA23A9 #66AA23 #23AA67
monochromatic
#440E44 #771977 #AA23A9 #D535D4 #E068DF

Accessibility & contrast

On white

5.96
#AA23A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA23A9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23A9#FFFFFF#000000##FFFFFF
##AA23A91.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4C6AA6
Tritanopia (blue-blind)
#B03A66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa23a9;
/* rgb */ color: rgb(170, 35, 169);
/* oklch */ color: oklch(53.1% 0.219 328.5);
Tailwind
colors: {
  custom: {
    50: '#c76fc3',
    500: '#aa23a9',
    950: '#000000',
  },
}
SCSS
$custom: #aa23a9;
$custom-light: #c76fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23a9",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 300.444,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5307,
    "c": 0.21922,
    "h": 328.5
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#AA23A9
secondary
#63C664
accent
#E9403F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140812
muted
#827B81

Preview Lab

Preview with #AA23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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