#AB29AF#AB29AF

#AB29AF is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.219 H 326.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AB29AF
RGBrgb(171, 41, 175)
HSLhsl(298, 62%, 42%)
HSVhsv(298, 77%, 69%)
CMYKcmyk(2.3%, 76.6%, 0%, 31.4%)
CIE-LABlab(43.27, 66.26, -43.15)
CIE-LCHlch(43.27, 79.07, 326.92°)
OKLaboklab(53.99% 0.183 -0.1199)
OKLCHoklch(53.99% 0.219 326.8)
XYZxyz(25.3250, 13.3407, 41.7903)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29AF #2DAF29
analogous
#6829AF #AB29AF #AF2970
triadic
#AB29AF #AFAB29 #29AFAB
tetradic
#AB29AF #AF6829 #2DAF29 #2970AF
square
#AB29AF #AF6829 #2DAF29 #2970AF
split-complementary
#AB29AF #70AF29 #29AF68
monochromatic
#4A124C #7B1D7D #AB29AF #CF42D3 #DB74DE

Accessibility & contrast

On white

5.73
#AB29AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB29AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29AF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29AF#FFFFFF#000000##FFFFFF
##AB29AF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#B0406B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab29af;
/* rgb */ color: rgb(171, 41, 175);
/* oklch */ color: oklch(54.0% 0.219 326.8);
Tailwind
colors: {
  custom: {
    50: '#c872c7',
    500: '#ab29af',
    950: '#000000',
  },
}
SCSS
$custom: #ab29af;
$custom-light: #c872c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29af",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 298.209,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.21877,
    "h": 326.8
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#AB29AF
secondary
#71C66E
accent
#E54348
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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