#AC23A0#AC23A0

#AC23A0 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.214 H 332.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AC23A0
RGBrgb(172, 35, 160)
HSLhsl(305, 66%, 41%)
HSVhsv(305, 80%, 67%)
CMYKcmyk(0%, 79.7%, 7%, 32.5%)
CIE-LABlab(42.02, 65.77, -36.19)
CIE-LCHlch(42.02, 75.07, 331.18°)
OKLaboklab(52.86% 0.189 -0.0996)
OKLCHoklch(52.86% 0.214 332.2)
XYZxyz(23.9595, 12.5128, 34.4042)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A0 #23AC2F
analogous
#7323AC #AC23A0 #AC235C
triadic
#AC23A0 #A0AC23 #23A0AC
tetradic
#AC23A0 #AC7323 #23AC2F #235CAC
square
#AC23A0 #AC7323 #23AC2F #235CAC
split-complementary
#AC23A0 #5CAC23 #23AC73
monochromatic
#460E41 #791971 #AC23A0 #D636C8 #E069D6

Accessibility & contrast

On white

6.00
#AC23A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC23A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A0#FFFFFF#000000##FFFFFF
##AC23A01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A3
Deuteranopia (green-blind)
#536A9D
Tritanopia (blue-blind)
#B43561
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac23a0;
/* rgb */ color: rgb(172, 35, 160);
/* oklch */ color: oklch(52.9% 0.214 332.2);
Tailwind
colors: {
  custom: {
    50: '#c96fbc',
    500: '#ac23a0',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a0;
$custom-light: #c96fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a0",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 305.255,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.21366,
    "h": 332.2
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#AC23A0
secondary
#64C66D
accent
#E94E3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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