#AB29A1#AB29A1

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

Color values

HEX#AB29A1
RGBrgb(171, 41, 161)
HSLhsl(305, 61%, 42%)
HSVhsv(305, 76%, 67%)
CMYKcmyk(0%, 76%, 5.8%, 32.9%)
CIE-LABlab(42.49, 64.01, -36.06)
CIE-LCHlch(42.49, 73.47, 330.61°)
OKLaboklab(53.18% 0.1831 -0.0993)
OKLCHoklch(53.18% 0.208 331.5)
XYZxyz(24.0206, 12.8190, 34.9205)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A1 #29AB33
analogous
#7429AB #AB29A1 #AB2960
triadic
#AB29A1 #A1AB29 #29A1AB
tetradic
#AB29A1 #AB7429 #29AB33 #2960AB
square
#AB29A1 #AB7429 #29AB33 #2960AB
split-complementary
#AB29A1 #60AB29 #29AB74
monochromatic
#481144 #7A1D73 #AB29A1 #D140C6 #DD71D5

Accessibility & contrast

On white

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

On black

3.56
#AB29A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB29A1#FFFFFF#000000##FFFFFF
##AB29A11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#536B9E
Tritanopia (blue-blind)
#B23963
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab29a1;
/* rgb */ color: rgb(171, 41, 161);
/* oklch */ color: oklch(53.2% 0.208 331.5);
Tailwind
colors: {
  custom: {
    50: '#c871bd',
    500: '#ab29a1',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a1;
$custom-light: #c871bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a1",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 304.615,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.20829,
    "h": 331.5
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

primary
#AB29A1
secondary
#6CC472
accent
#E45043
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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