#AA23A4#AA23A4

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

Color values

HEX#AA23A4
RGBrgb(170, 35, 164)
HSLhsl(303, 66%, 40%)
HSVhsv(303, 79%, 67%)
CMYKcmyk(0%, 79.4%, 3.5%, 33.3%)
CIE-LABlab(41.89, 65.96, -38.81)
CIE-LCHlch(41.89, 76.53, 329.53°)
OKLaboklab(52.78% 0.187 -0.1073)
OKLCHoklch(52.78% 0.216 330.2)
XYZxyz(23.8793, 12.4304, 36.2564)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA23A4 #23AA29
analogous
#6D23AA #AA23A4 #AA2360
triadic
#AA23A4 #A4AA23 #23A4AA
tetradic
#AA23A4 #AA6D23 #23AA29 #2360AA
square
#AA23A4 #AA6D23 #23AA29 #2360AA
split-complementary
#AA23A4 #60AA23 #23AA6D
monochromatic
#440E42 #771973 #AA23A4 #D535CE #E068DA

Accessibility & contrast

On white

6.02
#AA23A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA23A4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA23A4#FFFFFF#000000##FFFFFF
##AA23A41.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#4F69A1
Tritanopia (blue-blind)
#B13864
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa23a4;
/* rgb */ color: rgb(170, 35, 164);
/* oklch */ color: oklch(52.8% 0.216 330.2);
Tailwind
colors: {
  custom: {
    50: '#c76fbf',
    500: '#aa23a4',
    950: '#000000',
  },
}
SCSS
$custom: #aa23a4;
$custom-light: #c76fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa23a4",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 302.667,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.21557,
    "h": 330.2
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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