#AB29A2#AB29A2

#AB29A2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.209 H 331.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB29A2
RGBrgb(171, 41, 162)
HSLhsl(304, 61%, 42%)
HSVhsv(304, 76%, 67%)
CMYKcmyk(0%, 76%, 5.3%, 32.9%)
CIE-LABlab(42.54, 64.17, -36.57)
CIE-LCHlch(42.54, 73.86, 330.32°)
OKLaboklab(53.24% 0.1831 -0.1008)
OKLCHoklch(53.24% 0.209 331.2)
XYZxyz(24.1091, 12.8544, 35.3868)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A2 #29AB32
analogous
#7329AB #AB29A2 #AB2961
triadic
#AB29A2 #A2AB29 #29A2AB
tetradic
#AB29A2 #AB7329 #29AB32 #2961AB
square
#AB29A2 #AB7329 #29AB32 #2961AB
split-complementary
#AB29A2 #61AB29 #29AB73
monochromatic
#481144 #7A1D73 #AB29A2 #D140C7 #DD71D6

Accessibility & contrast

On white

5.88
#AB29A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB29A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29A2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A2#FFFFFF#000000##FFFFFF
##AB29A21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#B23A64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab29a2;
/* rgb */ color: rgb(171, 41, 162);
/* oklch */ color: oklch(53.2% 0.209 331.2);
Tailwind
colors: {
  custom: {
    50: '#c871be',
    500: '#ab29a2',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a2;
$custom-light: #c871be;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a2",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 304.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.20902,
    "h": 331.2
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#AB29A2
secondary
#6CC472
accent
#E44F43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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