#AC23A1#AC23A1

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

Color values

HEX#AC23A1
RGBrgb(172, 35, 161)
HSLhsl(305, 66%, 41%)
HSVhsv(305, 80%, 67%)
CMYKcmyk(0%, 79.7%, 6.4%, 32.5%)
CIE-LABlab(42.07, 65.92, -36.70)
CIE-LCHlch(42.07, 75.45, 330.89°)
OKLaboklab(52.92% 0.189 -0.1011)
OKLCHoklch(52.92% 0.214 331.9)
XYZxyz(24.0474, 12.5480, 34.8668)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A1 #23AC2E
analogous
#7323AC #AC23A1 #AC235C
triadic
#AC23A1 #A1AC23 #23A1AC
tetradic
#AC23A1 #AC7323 #23AC2E #235CAC
square
#AC23A1 #AC7323 #23AC2E #235CAC
split-complementary
#AC23A1 #5CAC23 #23AC73
monochromatic
#460E42 #791971 #AC23A1 #D636C9 #E069D7

Accessibility & contrast

On white

5.98
#AC23A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AC23A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A1#FFFFFF#000000##FFFFFF
##AC23A11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#B33562
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac23a1;
/* rgb */ color: rgb(172, 35, 161);
/* oklch */ color: oklch(52.9% 0.214 331.9);
Tailwind
colors: {
  custom: {
    50: '#c96fbd',
    500: '#ac23a1',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a1;
$custom-light: #c96fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a1",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 304.818,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52918,
    "c": 0.21436,
    "h": 331.9
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#AC23A1
secondary
#64C66C
accent
#E94C3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC23A1

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

Preview Lab → · Contrast checker → · Palette generator →

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