#AA23A5#AA23A5

#AA23A5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.216 H 329.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA23A5
RGBrgb(170, 35, 165)
HSLhsl(302, 66%, 40%)
HSVhsv(302, 79%, 67%)
CMYKcmyk(0%, 79.4%, 2.9%, 33.3%)
CIE-LABlab(41.95, 66.12, -39.32)
CIE-LCHlch(41.95, 76.93, 329.26°)
OKLaboklab(52.83% 0.187 -0.1088)
OKLCHoklch(52.83% 0.216 329.8)
XYZxyz(23.9700, 12.4666, 36.7339)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23A5 #23AA28
analogous
#6B23AA #AA23A5 #AA2362
triadic
#AA23A5 #A5AA23 #23A5AA
tetradic
#AA23A5 #AA6B23 #23AA28 #2362AA
square
#AA23A5 #AA6B23 #23AA28 #2362AA
split-complementary
#AA23A5 #62AA23 #23AA6B
monochromatic
#440E42 #771974 #AA23A5 #D535CF #E068DB

Accessibility & contrast

On white

6.01
#AA23A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA23A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA23A5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23A5#FFFFFF#000000##FFFFFF
##AA23A51.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#B03864
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa23a5;
/* rgb */ color: rgb(170, 35, 165);
/* oklch */ color: oklch(52.8% 0.216 329.8);
Tailwind
colors: {
  custom: {
    50: '#c76fc0',
    500: '#aa23a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa23a5;
$custom-light: #c76fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23a5",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 302.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.21629,
    "h": 329.8
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#AA23A5
secondary
#63C667
accent
#E9453F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA23A5

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

Preview Lab → · Contrast checker → · Palette generator →

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