#AC239B#AC239B

#AC239B is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.210 H 334.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC239B
RGBrgb(172, 35, 155)
HSLhsl(307, 66%, 41%)
HSVhsv(307, 80%, 67%)
CMYKcmyk(0%, 79.7%, 9.9%, 32.5%)
CIE-LABlab(41.75, 65.02, -33.60)
CIE-LCHlch(41.75, 73.19, 332.67°)
OKLaboklab(52.59% 0.1889 -0.0922)
OKLCHoklch(52.59% 0.21 334)
XYZxyz(23.5309, 12.3414, 32.1468)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC239B #23AC34
analogous
#7823AC #AC239B #AC2356
triadic
#AC239B #9BAC23 #239BAC
tetradic
#AC239B #AC7823 #23AC34 #2356AC
square
#AC239B #AC7823 #23AC34 #2356AC
split-complementary
#AC239B #56AC23 #23AC78
monochromatic
#460E3F #79196D #AC239B #D636C2 #E069D2

Accessibility & contrast

On white

6.06
#AC239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC239B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC239B#FFFFFF#000000##FFFFFF
##AC239B1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569E
Deuteranopia (green-blind)
#556998
Tritanopia (blue-blind)
#B4325F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac239b;
/* rgb */ color: rgb(172, 35, 155);
/* oklch */ color: oklch(52.6% 0.210 334.0);
Tailwind
colors: {
  custom: {
    50: '#c96fb9',
    500: '#ac239b',
    950: '#000000',
  },
}
SCSS
$custom: #ac239b;
$custom-light: #c96fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac239b",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 307.445,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.21015,
    "h": 334
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC239B

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

Preview Lab → · Contrast checker → · Palette generator →

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