#AB29A9#AB29A9

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

Color values

HEX#AB29A9
RGBrgb(171, 41, 169)
HSLhsl(301, 61%, 42%)
HSVhsv(301, 76%, 67%)
CMYKcmyk(0%, 76%, 1.2%, 32.9%)
CIE-LABlab(42.93, 65.28, -40.14)
CIE-LCHlch(42.93, 76.63, 328.41°)
OKLaboklab(53.64% 0.1831 -0.1111)
OKLCHoklch(53.64% 0.214 328.7)
XYZxyz(24.7487, 13.1102, 38.7555)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A9 #29AB2B
analogous
#6C29AB #AB29A9 #AB2968
triadic
#AB29A9 #A9AB29 #29A9AB
tetradic
#AB29A9 #AB6C29 #29AB2B #2968AB
square
#AB29A9 #AB6C29 #29AB2B #2968AB
split-complementary
#AB29A9 #68AB29 #29AB6C
monochromatic
#481147 #7A1D78 #AB29A9 #D140CF #DD71DB

Accessibility & contrast

On white

5.80
#AB29A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AB29A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29A9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A9#FFFFFF#000000##FFFFFF
##AB29A91.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAC
Deuteranopia (green-blind)
#4F6BA6
Tritanopia (blue-blind)
#B13D68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29a9;
/* rgb */ color: rgb(171, 41, 169);
/* oklch */ color: oklch(53.6% 0.214 328.7);
Tailwind
colors: {
  custom: {
    50: '#c872c3',
    500: '#ab29a9',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a9;
$custom-light: #c872c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a9",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 300.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.21422,
    "h": 328.7
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#AB29A9
secondary
#6CC46D
accent
#E44643
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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