#AA239A#AA239A

#AA239A is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.208 H 333.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA239A
RGBrgb(170, 35, 154)
HSLhsl(307, 66%, 40%)
HSVhsv(307, 79%, 67%)
CMYKcmyk(0%, 79.4%, 9.4%, 33.3%)
CIE-LABlab(41.35, 64.44, -33.66)
CIE-LCHlch(41.35, 72.70, 332.42°)
OKLaboklab(52.21% 0.1868 -0.0924)
OKLCHoklch(52.21% 0.208 333.7)
XYZxyz(23.0115, 12.0832, 31.6859)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA239A #23AA33
analogous
#7623AA #AA239A #AA2356
triadic
#AA239A #9AAA23 #239AAA
tetradic
#AA239A #AA7623 #23AA33 #2356AA
square
#AA239A #AA7623 #23AA33 #2356AA
split-complementary
#AA239A #56AA23 #23AA76
monochromatic
#440E3E #77196C #AA239A #D535C2 #E068D2

Accessibility & contrast

On white

6.15
#AA239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA239A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA239A#FFFFFF#000000##FFFFFF
##AA239A1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#B2325E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa239a;
/* rgb */ color: rgb(170, 35, 154);
/* oklch */ color: oklch(52.2% 0.208 333.7);
Tailwind
colors: {
  custom: {
    50: '#c76fb8',
    500: '#aa239a',
    950: '#000000',
  },
}
SCSS
$custom: #aa239a;
$custom-light: #c76fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa239a",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 307.111,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.20844,
    "h": 333.7
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#AA239A
secondary
#63C66F
accent
#E9533F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA239A

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

Preview Lab → · Contrast checker → · Palette generator →

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