#AB29A5#AB29A5

#AB29A5 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.211 H 330.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB29A5
RGBrgb(171, 41, 165)
HSLhsl(303, 61%, 42%)
HSVhsv(303, 76%, 67%)
CMYKcmyk(0%, 76%, 3.5%, 32.9%)
CIE-LABlab(42.71, 64.64, -38.11)
CIE-LCHlch(42.71, 75.03, 329.48°)
OKLaboklab(53.41% 0.1831 -0.1053)
OKLCHoklch(53.41% 0.211 330.1)
XYZxyz(24.3789, 12.9623, 36.8080)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A5 #29AB2F
analogous
#7029AB #AB29A5 #AB2964
triadic
#AB29A5 #A5AB29 #29A5AB
tetradic
#AB29A5 #AB7029 #29AB2F #2964AB
square
#AB29A5 #AB7029 #29AB2F #2964AB
split-complementary
#AB29A5 #64AB29 #29AB70
monochromatic
#481146 #7A1D75 #AB29A5 #D140CB #DD71D8

Accessibility & contrast

On white

5.85
#AB29A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB29A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29A5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A5#FFFFFF#000000##FFFFFF
##AB29A51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#B13B66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29a5;
/* rgb */ color: rgb(171, 41, 165);
/* oklch */ color: oklch(53.4% 0.211 330.1);
Tailwind
colors: {
  custom: {
    50: '#c872c0',
    500: '#ab29a5',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a5;
$custom-light: #c872c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a5",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 302.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53408,
    "c": 0.21123,
    "h": 330.1
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#AB29A5
secondary
#6CC470
accent
#E44B43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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