#AA239B#AA239B

#AA239B is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.209 H 333.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA239B
RGBrgb(170, 35, 155)
HSLhsl(307, 66%, 40%)
HSVhsv(307, 79%, 67%)
CMYKcmyk(0%, 79.4%, 8.8%, 33.3%)
CIE-LABlab(41.40, 64.59, -34.18)
CIE-LCHlch(41.40, 73.08, 332.11°)
OKLaboklab(52.27% 0.1869 -0.0939)
OKLCHoklch(52.27% 0.209 333.3)
XYZxyz(23.0952, 12.1167, 32.1264)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA239B #23AA32
analogous
#7623AA #AA239B #AA2357
triadic
#AA239B #9BAA23 #239BAA
tetradic
#AA239B #AA7623 #23AA32 #2357AA
square
#AA239B #AA7623 #23AA32 #2357AA
split-complementary
#AA239B #57AA23 #23AA76
monochromatic
#440E3E #77196D #AA239B #D535C4 #E068D2

Accessibility & contrast

On white

6.13
#AA239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA239B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA239B#FFFFFF#000000##FFFFFF
##AA239B1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#B2335E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa239b;
/* rgb */ color: rgb(170, 35, 155);
/* oklch */ color: oklch(52.3% 0.209 333.3);
Tailwind
colors: {
  custom: {
    50: '#c76fb9',
    500: '#aa239b',
    950: '#000000',
  },
}
SCSS
$custom: #aa239b;
$custom-light: #c76fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa239b",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 306.667,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.20914,
    "h": 333.3
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#AA239B
secondary
#63C66E
accent
#E9523F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA239B

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

Preview Lab → · Contrast checker → · Palette generator →

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