#AC23A3#AC23A3

#AC23A3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.216 H 331.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC23A3
RGBrgb(172, 35, 163)
HSLhsl(304, 66%, 41%)
HSVhsv(304, 80%, 67%)
CMYKcmyk(0%, 79.7%, 5.2%, 32.5%)
CIE-LABlab(42.18, 66.22, -37.73)
CIE-LCHlch(42.18, 76.22, 330.33°)
OKLaboklab(53.03% 0.189 -0.1041)
OKLCHoklch(53.03% 0.216 331.2)
XYZxyz(24.2251, 12.6191, 35.8031)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A3 #23AC2C
analogous
#7123AC #AC23A3 #AC235E
triadic
#AC23A3 #A3AC23 #23A3AC
tetradic
#AC23A3 #AC7123 #23AC2C #235EAC
square
#AC23A3 #AC7123 #23AC2C #235EAC
split-complementary
#AC23A3 #5EAC23 #23AC71
monochromatic
#460E43 #791973 #AC23A3 #D636CC #E069D9

Accessibility & contrast

On white

5.96
#AC23A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC23A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A3#FFFFFF#000000##FFFFFF
##AC23A31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#B33663
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a3;
/* rgb */ color: rgb(172, 35, 163);
/* oklch */ color: oklch(53.0% 0.216 331.2);
Tailwind
colors: {
  custom: {
    50: '#c96fbf',
    500: '#ac23a3',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a3;
$custom-light: #c96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a3",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 303.942,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.21579,
    "h": 331.2
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#AC23A3
secondary
#64C66B
accent
#E94A3F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AC23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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