#AB29A4#AB29A4

#AB29A4 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.210 H 330.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB29A4
RGBrgb(171, 41, 164)
HSLhsl(303, 61%, 42%)
HSVhsv(303, 76%, 67%)
CMYKcmyk(0%, 76%, 4.1%, 32.9%)
CIE-LABlab(42.65, 64.48, -37.59)
CIE-LCHlch(42.65, 74.64, 329.76°)
OKLaboklab(53.35% 0.1831 -0.1038)
OKLCHoklch(53.35% 0.21 330.5)
XYZxyz(24.2883, 12.9261, 36.3305)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A4 #29AB30
analogous
#7129AB #AB29A4 #AB2963
triadic
#AB29A4 #A4AB29 #29A4AB
tetradic
#AB29A4 #AB7129 #29AB30 #2963AB
square
#AB29A4 #AB7129 #29AB30 #2963AB
split-complementary
#AB29A4 #63AB29 #29AB71
monochromatic
#481145 #7A1D75 #AB29A4 #D140C9 #DD71D7

Accessibility & contrast

On white

5.86
#AB29A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB29A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29A4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A4#FFFFFF#000000##FFFFFF
##AB29A41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A7
Deuteranopia (green-blind)
#526BA1
Tritanopia (blue-blind)
#B23B65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29a4;
/* rgb */ color: rgb(171, 41, 164);
/* oklch */ color: oklch(53.4% 0.210 330.5);
Tailwind
colors: {
  custom: {
    50: '#c872bf',
    500: '#ab29a4',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a4;
$custom-light: #c872bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a4",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 303.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53351,
    "c": 0.21049,
    "h": 330.5
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#AB29A4
secondary
#6CC470
accent
#E44C43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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