#AC23A5#AC23A5

#AC23A5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.217 H 330.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC23A5
RGBrgb(172, 35, 165)
HSLhsl(303, 66%, 41%)
HSVhsv(303, 80%, 67%)
CMYKcmyk(0%, 79.7%, 4.1%, 32.5%)
CIE-LABlab(42.29, 66.53, -38.75)
CIE-LCHlch(42.29, 76.99, 329.78°)
OKLaboklab(53.15% 0.189 -0.1071)
OKLCHoklch(53.15% 0.217 330.5)
XYZxyz(24.4058, 12.6913, 36.7543)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A5 #23AC2A
analogous
#6F23AC #AC23A5 #AC2360
triadic
#AC23A5 #A5AC23 #23A5AC
tetradic
#AC23A5 #AC6F23 #23AC2A #2360AC
square
#AC23A5 #AC6F23 #23AC2A #2360AC
split-complementary
#AC23A5 #60AC23 #23AC6F
monochromatic
#460E43 #791974 #AC23A5 #D636CE #E069DA

Accessibility & contrast

On white

5.94
#AC23A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC23A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A5#FFFFFF#000000##FFFFFF
##AC23A51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B58A8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#B33764
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a5;
/* rgb */ color: rgb(172, 35, 165);
/* oklch */ color: oklch(53.1% 0.217 330.5);
Tailwind
colors: {
  custom: {
    50: '#c970c0',
    500: '#ac23a5',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a5;
$custom-light: #c970c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a5",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 303.066,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.21722,
    "h": 330.5
  },
  "luminance": 0.12689
}

Semantic roles & 50–950 ramp

primary
#AC23A5
secondary
#64C669
accent
#E9473F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC23A5

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

Preview Lab → · Contrast checker → · Palette generator →

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