#AC239A#AC239A

#AC239A is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.209 H 334.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC239A
RGBrgb(172, 35, 154)
HSLhsl(308, 66%, 41%)
HSVhsv(308, 80%, 67%)
CMYKcmyk(0%, 79.7%, 10.5%, 32.5%)
CIE-LABlab(41.70, 64.87, -33.08)
CIE-LCHlch(41.70, 72.82, 332.98°)
OKLaboklab(52.53% 0.1888 -0.0907)
OKLCHoklch(52.53% 0.209 334.4)
XYZxyz(23.4473, 12.3079, 31.7064)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC239A #23AC35
analogous
#7923AC #AC239A #AC2355
triadic
#AC239A #9AAC23 #239AAC
tetradic
#AC239A #AC7923 #23AC35 #2355AC
square
#AC239A #AC7923 #23AC35 #2355AC
split-complementary
#AC239A #55AC23 #23AC79
monochromatic
#460E3F #79196C #AC239A #D636C1 #E069D1

Accessibility & contrast

On white

6.07
#AC239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC239A
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC239A#FFFFFF#000000##FFFFFF
##AC239A1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569D
Deuteranopia (green-blind)
#566997
Tritanopia (blue-blind)
#B4315E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac239a;
/* rgb */ color: rgb(172, 35, 154);
/* oklch */ color: oklch(52.5% 0.209 334.4);
Tailwind
colors: {
  custom: {
    50: '#c96fb8',
    500: '#ac239a',
    950: '#000000',
  },
}
SCSS
$custom: #ac239a;
$custom-light: #c96fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac239a",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 307.883,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.20946,
    "h": 334.4
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#AC239A
secondary
#64C671
accent
#E9553F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC239A

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

Preview Lab → · Contrast checker → · Palette generator →

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