#AC23AC#AC23AC

#AC23AC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.222 H 328.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AC23AC
RGBrgb(172, 35, 172)
HSLhsl(300, 66%, 41%)
HSVhsv(300, 80%, 67%)
CMYKcmyk(0%, 79.7%, 0%, 32.5%)
CIE-LABlab(42.69, 67.63, -42.29)
CIE-LCHlch(42.69, 79.76, 327.98°)
OKLaboklab(53.56% 0.1888 -0.1173)
OKLCHoklch(53.56% 0.222 328.1)
XYZxyz(25.0604, 12.9532, 40.2020)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23AC #23AC23
analogous
#6723AC #AC23AC #AC2367
triadic
#AC23AC #ACAC23 #23ACAC
tetradic
#AC23AC #AC6723 #23AC23 #2367AC
square
#AC23AC #AC6723 #23AC23 #2367AC
split-complementary
#AC23AC #67AC23 #23AC67
monochromatic
#460E46 #791979 #AC23AC #D636D6 #E069E0

Accessibility & contrast

On white

5.85
#AC23AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC23AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23AC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23AC#FFFFFF#000000##FFFFFF
##AC23AC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#B23B68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac23ac;
/* rgb */ color: rgb(172, 35, 172);
/* oklch */ color: oklch(53.6% 0.222 328.1);
Tailwind
colors: {
  custom: {
    50: '#c970c5',
    500: '#ac23ac',
    950: '#000000',
  },
}
SCSS
$custom: #ac23ac;
$custom-light: #c970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23ac",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 300,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.22232,
    "h": 328.1
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#AC23AC
secondary
#64C664
accent
#E93F3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AC23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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