#AC23A6#AC23A6

#AC23A6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.218 H 330.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC23A6
RGBrgb(172, 35, 166)
HSLhsl(303, 66%, 41%)
HSVhsv(303, 80%, 67%)
CMYKcmyk(0%, 79.7%, 3.5%, 32.5%)
CIE-LABlab(42.35, 66.69, -39.26)
CIE-LCHlch(42.35, 77.38, 329.52°)
OKLaboklab(53.2% 0.189 -0.1085)
OKLCHoklch(53.2% 0.218 330.1)
XYZxyz(24.4971, 12.7279, 37.2355)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A6 #23AC29
analogous
#6E23AC #AC23A6 #AC2361
triadic
#AC23A6 #A6AC23 #23A6AC
tetradic
#AC23A6 #AC6E23 #23AC29 #2361AC
square
#AC23A6 #AC6E23 #23AC29 #2361AC
split-complementary
#AC23A6 #61AC23 #23AC6E
monochromatic
#460E44 #791975 #AC23A6 #D636CF #E069DB

Accessibility & contrast

On white

5.92
#AC23A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC23A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A6#FFFFFF#000000##FFFFFF
##AC23A61.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#B33865
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a6;
/* rgb */ color: rgb(172, 35, 166);
/* oklch */ color: oklch(53.2% 0.218 330.1);
Tailwind
colors: {
  custom: {
    50: '#c970c1',
    500: '#ac23a6',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a6;
$custom-light: #c970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a6",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 302.628,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.21794,
    "h": 330.1
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#AC23A6
secondary
#64C669
accent
#E9463F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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