#AC239C#AC239C

#AC239C is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.211 H 333.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AC239C
RGBrgb(172, 35, 156)
HSLhsl(307, 66%, 41%)
HSVhsv(307, 80%, 67%)
CMYKcmyk(0%, 79.7%, 9.3%, 32.5%)
CIE-LABlab(41.81, 65.17, -34.12)
CIE-LCHlch(41.81, 73.56, 332.36°)
OKLaboklab(52.64% 0.1889 -0.0937)
OKLCHoklch(52.64% 0.211 333.6)
XYZxyz(23.6152, 12.3751, 32.5909)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC239C #23AC33
analogous
#7723AC #AC239C #AC2358
triadic
#AC239C #9CAC23 #239CAC
tetradic
#AC239C #AC7723 #23AC33 #2358AC
square
#AC239C #AC7723 #23AC33 #2358AC
split-complementary
#AC239C #58AC23 #23AC77
monochromatic
#460E40 #79196E #AC239C #D636C3 #E069D3

Accessibility & contrast

On white

6.04
#AC239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC239C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC239C#FFFFFF#000000##FFFFFF
##AC239C1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D569F
Deuteranopia (green-blind)
#556999
Tritanopia (blue-blind)
#B4325F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac239c;
/* rgb */ color: rgb(172, 35, 156);
/* oklch */ color: oklch(52.6% 0.211 333.6);
Tailwind
colors: {
  custom: {
    50: '#c96fb9',
    500: '#ac239c',
    950: '#000000',
  },
}
SCSS
$custom: #ac239c;
$custom-light: #c96fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac239c",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 307.007,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.21085,
    "h": 333.6
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#AC239C
secondary
#64C670
accent
#E9533F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC239C

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

Preview Lab → · Contrast checker → · Palette generator →

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