#AC23A9#AC23A9

#AC23A9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.220 H 329.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AC23A9
RGBrgb(172, 35, 169)
HSLhsl(301, 66%, 41%)
HSVhsv(301, 80%, 67%)
CMYKcmyk(0%, 79.7%, 1.7%, 32.5%)
CIE-LABlab(42.52, 67.16, -40.78)
CIE-LCHlch(42.52, 78.57, 328.73°)
OKLaboklab(53.38% 0.1889 -0.1129)
OKLCHoklch(53.38% 0.22 329.1)
XYZxyz(24.7755, 12.8392, 38.7017)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC23A9 #23AC26
analogous
#6A23AC #AC23A9 #AC2364
triadic
#AC23A9 #A9AC23 #23A9AC
tetradic
#AC23A9 #AC6A23 #23AC26 #2364AC
square
#AC23A9 #AC6A23 #23AC26 #2364AC
split-complementary
#AC23A9 #64AC23 #23AC6A
monochromatic
#460E45 #791977 #AC23A9 #D636D3 #E069DE

Accessibility & contrast

On white

5.89
#AC23A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC23A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC23A9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC23A9#FFFFFF#000000##FFFFFF
##AC23A91.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#B23A66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac23a9;
/* rgb */ color: rgb(172, 35, 169);
/* oklch */ color: oklch(53.4% 0.220 329.1);
Tailwind
colors: {
  custom: {
    50: '#c970c3',
    500: '#ac23a9',
    950: '#000000',
  },
}
SCSS
$custom: #ac23a9;
$custom-light: #c970c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac23a9",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 301.314,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.22013,
    "h": 329.1
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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