#AB29A6#AB29A6

#AB29A6 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.212 H 329.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB29A6
RGBrgb(171, 41, 166)
HSLhsl(302, 61%, 42%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 76%, 2.9%, 32.9%)
CIE-LABlab(42.76, 64.80, -38.61)
CIE-LCHlch(42.76, 75.43, 329.21°)
OKLaboklab(53.47% 0.1832 -0.1067)
OKLCHoklch(53.47% 0.212 329.8)
XYZxyz(24.4703, 12.9989, 37.2892)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A6 #29AB2E
analogous
#6F29AB #AB29A6 #AB2965
triadic
#AB29A6 #A6AB29 #29A6AB
tetradic
#AB29A6 #AB6F29 #29AB2E #2965AB
square
#AB29A6 #AB6F29 #29AB2E #2965AB
split-complementary
#AB29A6 #65AB29 #29AB6F
monochromatic
#481146 #7A1D76 #AB29A6 #D140CC #DD71D9

Accessibility & contrast

On white

5.83
#AB29A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB29A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29A6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A6#FFFFFF#000000##FFFFFF
##AB29A61.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AA9
Deuteranopia (green-blind)
#516BA3
Tritanopia (blue-blind)
#B13C66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29a6;
/* rgb */ color: rgb(171, 41, 166);
/* oklch */ color: oklch(53.5% 0.212 329.8);
Tailwind
colors: {
  custom: {
    50: '#c872c1',
    500: '#ab29a6',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a6;
$custom-light: #c872c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a6",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 302.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.21198,
    "h": 329.8
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#AB29A6
secondary
#6CC46F
accent
#E44A43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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