#AC239D#AC239D

#AC239D is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.212 H 333.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AC239D
RGBrgb(172, 35, 157)
HSLhsl(307, 66%, 41%)
HSVhsv(307, 80%, 67%)
CMYKcmyk(0%, 79.7%, 8.7%, 32.5%)
CIE-LABlab(41.86, 65.32, -34.64)
CIE-LCHlch(41.86, 73.93, 332.06°)
OKLaboklab(52.7% 0.1889 -0.0952)
OKLCHoklch(52.7% 0.212 333.3)
XYZxyz(23.7003, 12.4091, 33.0387)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC239D #23AC32
analogous
#7623AC #AC239D #AC2359
triadic
#AC239D #9DAC23 #239DAC
tetradic
#AC239D #AC7623 #23AC32 #2359AC
square
#AC239D #AC7623 #23AC32 #2359AC
split-complementary
#AC239D #59AC23 #23AC76
monochromatic
#460E40 #79196F #AC239D #D636C5 #E069D3

Accessibility & contrast

On white

6.03
#AC239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC239D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC239D#FFFFFF#000000##FFFFFF
##AC239D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C56A0
Deuteranopia (green-blind)
#546A9A
Tritanopia (blue-blind)
#B43360
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac239d;
/* rgb */ color: rgb(172, 35, 157);
/* oklch */ color: oklch(52.7% 0.212 333.3);
Tailwind
colors: {
  custom: {
    50: '#c96fba',
    500: '#ac239d',
    950: '#000000',
  },
}
SCSS
$custom: #ac239d;
$custom-light: #c96fba;
$custom-dark: #000000;
JSON
{
  "hex": "#ac239d",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 306.569,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52695,
    "c": 0.21154,
    "h": 333.3
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#AC239D
secondary
#64C66F
accent
#E9513F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC239D

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

Preview Lab → · Contrast checker → · Palette generator →

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