#AC29A7#AC29A7

#AC29A7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.213 H 329.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AC29A7
RGBrgb(172, 41, 167)
HSLhsl(302, 62%, 42%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 76.2%, 2.9%, 32.5%)
CIE-LABlab(42.99, 65.17, -38.84)
CIE-LCHlch(42.99, 75.87, 329.20°)
OKLaboklab(53.68% 0.1842 -0.1074)
OKLCHoklch(53.68% 0.213 329.8)
XYZxyz(24.7811, 13.1485, 37.7844)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC29A7 #29AC2E
analogous
#7029AC #AC29A7 #AC2966
triadic
#AC29A7 #A7AC29 #29A7AC
tetradic
#AC29A7 #AC7029 #29AC2E #2966AC
square
#AC29A7 #AC7029 #29AC2E #2966AC
split-complementary
#AC29A7 #66AC29 #29AC70
monochromatic
#491147 #7B1D77 #AC29A7 #D241CC #DD72D9

Accessibility & contrast

On white

5.79
#AC29A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AC29A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC29A7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC29A7#FFFFFF#000000##FFFFFF
##AC29A71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#516CA4
Tritanopia (blue-blind)
#B23C67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac29a7;
/* rgb */ color: rgb(172, 41, 167);
/* oklch */ color: oklch(53.7% 0.213 329.8);
Tailwind
colors: {
  custom: {
    50: '#c972c1',
    500: '#ac29a7',
    950: '#000000',
  },
}
SCSS
$custom: #ac29a7;
$custom-light: #c972c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac29a7",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 302.29,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.2132,
    "h": 329.8
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#AC29A7
secondary
#6CC570
accent
#E54943
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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