#AC23A4#AC23A4

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

Color values

HEX#AC23A4
RGBrgb(172, 35, 164)
HSLhsl(304, 66%, 41%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 79.7%, 4.7%, 32.5%)
CIE-LABlab(42.24, 66.38, -38.24)
CIE-LCHlch(42.24, 76.60, 330.05°)
OKLaboklab(53.09% 0.189 -0.1056)
OKLCHoklch(53.09% 0.217 330.8)
XYZxyz(24.3151, 12.6551, 36.2768)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A4 #23AC2B
analogous
#7023AC #AC23A4 #AC235F
triadic
#AC23A4 #A4AC23 #23A4AC
tetradic
#AC23A4 #AC7023 #23AC2B #235FAC
square
#AC23A4 #AC7023 #23AC2B #235FAC
split-complementary
#AC23A4 #5FAC23 #23AC70
monochromatic
#460E43 #791974 #AC23A4 #D636CD #E069D9

Accessibility & contrast

On white

5.95
#AC23A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC23A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A4#FFFFFF#000000##FFFFFF
##AC23A41.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E58A7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#B33764
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a4;
/* rgb */ color: rgb(172, 35, 164);
/* oklch */ color: oklch(53.1% 0.217 330.8);
Tailwind
colors: {
  custom: {
    50: '#c970bf',
    500: '#ac23a4',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a4;
$custom-light: #c970bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a4",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 303.504,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.21651,
    "h": 330.8
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#AC23A4
secondary
#64C66A
accent
#E9493F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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