#AC23A8#AC23A8

#AC23A8 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 329.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC23A8
RGBrgb(172, 35, 168)
HSLhsl(302, 66%, 41%)
HSVhsv(302, 80%, 67%)
CMYKcmyk(0%, 79.7%, 2.3%, 32.5%)
CIE-LABlab(42.46, 67.00, -40.27)
CIE-LCHlch(42.46, 78.17, 328.99°)
OKLaboklab(53.32% 0.189 -0.1115)
OKLCHoklch(53.32% 0.219 329.5)
XYZxyz(24.6820, 12.8018, 38.2092)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A8 #23AC27
analogous
#6B23AC #AC23A8 #AC2363
triadic
#AC23A8 #A8AC23 #23A8AC
tetradic
#AC23A8 #AC6B23 #23AC27 #2363AC
square
#AC23A8 #AC6B23 #23AC27 #2363AC
split-complementary
#AC23A8 #63AC23 #23AC6B
monochromatic
#460E45 #791976 #AC23A8 #D636D1 #E069DD

Accessibility & contrast

On white

5.90
#AC23A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC23A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A8#FFFFFF#000000##FFFFFF
##AC23A81.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0159AB
Deuteranopia (green-blind)
#4E6AA5
Tritanopia (blue-blind)
#B23966
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a8;
/* rgb */ color: rgb(172, 35, 168);
/* oklch */ color: oklch(53.3% 0.219 329.5);
Tailwind
colors: {
  custom: {
    50: '#c970c2',
    500: '#ac23a8',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a8;
$custom-light: #c970c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a8",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 301.752,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.21939,
    "h": 329.5
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#AC23A8
secondary
#64C667
accent
#E9443F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AC23A8

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

Preview Lab → · Contrast checker → · Palette generator →

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