#AB29A8#AB29A8

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

Color values

HEX#AB29A8
RGBrgb(171, 41, 168)
HSLhsl(301, 61%, 42%)
HSVhsv(301, 76%, 67%)
CMYKcmyk(0%, 76%, 1.8%, 32.9%)
CIE-LABlab(42.87, 65.12, -39.63)
CIE-LCHlch(42.87, 76.23, 328.68°)
OKLaboklab(53.58% 0.1831 -0.1097)
OKLCHoklch(53.58% 0.213 329.1)
XYZxyz(24.6552, 13.0728, 38.2629)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A8 #29AB2C
analogous
#6D29AB #AB29A8 #AB2967
triadic
#AB29A8 #A8AB29 #29A8AB
tetradic
#AB29A8 #AB6D29 #29AB2C #2967AB
square
#AB29A8 #AB6D29 #29AB2C #2967AB
split-complementary
#AB29A8 #67AB29 #29AB6D
monochromatic
#481147 #7A1D78 #AB29A8 #D140CE #DD71DB

Accessibility & contrast

On white

5.81
#AB29A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB29A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29A8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A8#FFFFFF#000000##FFFFFF
##AB29A81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAB
Deuteranopia (green-blind)
#506BA5
Tritanopia (blue-blind)
#B13D67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29a8;
/* rgb */ color: rgb(171, 41, 168);
/* oklch */ color: oklch(53.6% 0.213 329.1);
Tailwind
colors: {
  custom: {
    50: '#c872c2',
    500: '#ab29a8',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a8;
$custom-light: #c872c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a8",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 301.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.21347,
    "h": 329.1
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#AB29A8
secondary
#6CC46E
accent
#E44743
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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