#AB29B6#AB29B6

#AB29B6 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.224 H 324.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB29B6
RGBrgb(171, 41, 182)
HSLhsl(295, 63%, 44%)
HSVhsv(295, 77%, 71%)
CMYKcmyk(6%, 77.5%, 0%, 28.6%)
CIE-LABlab(43.69, 67.43, -46.62)
CIE-LCHlch(43.69, 81.98, 325.34°)
OKLaboklab(54.42% 0.1826 -0.13)
OKLCHoklch(54.42% 0.224 324.5)
XYZxyz(26.0303, 13.6229, 45.5053)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29B6 #34B629
analogous
#6429B6 #AB29B6 #B6297A
triadic
#AB29B6 #B6AB29 #29B6AB
tetradic
#AB29B6 #B66429 #34B629 #297AB6
square
#AB29B6 #B66429 #34B629 #297AB6
split-complementary
#AB29B6 #7AB629 #29B664
monochromatic
#4D1252 #7C1E84 #AB29B6 #CA47D5 #D979E1

Accessibility & contrast

On white

5.64
#AB29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29B6
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29B6#FFFFFF#000000##FFFFFF
##AB29B61.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#466CB3
Tritanopia (blue-blind)
#AE446F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab29b6;
/* rgb */ color: rgb(171, 41, 182);
/* oklch */ color: oklch(54.4% 0.224 324.5);
Tailwind
colors: {
  custom: {
    50: '#c872cc',
    500: '#ab29b6',
    950: '#000000',
  },
}
SCSS
$custom: #ab29b6;
$custom-light: #c872cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29b6",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 295.319,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.22416,
    "h": 324.5
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#AB29B6
secondary
#79C972
accent
#E6424E
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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