#AA23A3#AA23A3

#AA23A3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.215 H 330.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA23A3
RGBrgb(170, 35, 163)
HSLhsl(303, 66%, 40%)
HSVhsv(303, 79%, 67%)
CMYKcmyk(0%, 79.4%, 4.1%, 33.3%)
CIE-LABlab(41.84, 65.81, -38.30)
CIE-LCHlch(41.84, 76.14, 329.80°)
OKLaboklab(52.72% 0.187 -0.1058)
OKLCHoklch(52.72% 0.215 330.5)
XYZxyz(23.7894, 12.3944, 35.7826)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23A3 #23AA2A
analogous
#6D23AA #AA23A3 #AA2360
triadic
#AA23A3 #A3AA23 #23A3AA
tetradic
#AA23A3 #AA6D23 #23AA2A #2360AA
square
#AA23A3 #AA6D23 #23AA2A #2360AA
split-complementary
#AA23A3 #60AA23 #23AA6D
monochromatic
#440E42 #771972 #AA23A3 #D535CD #E068DA

Accessibility & contrast

On white

6.04
#AA23A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA23A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA23A3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23A3#FFFFFF#000000##FFFFFF
##AA23A31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A6
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#B13763
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa23a3;
/* rgb */ color: rgb(170, 35, 163);
/* oklch */ color: oklch(52.7% 0.215 330.5);
Tailwind
colors: {
  custom: {
    50: '#c76fbf',
    500: '#aa23a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa23a3;
$custom-light: #c76fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23a3",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 303.111,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.21484,
    "h": 330.5
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#AA23A3
secondary
#63C668
accent
#E9483F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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