#AB29A7#AB29A7

#AB29A7 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.213 H 329.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB29A7
RGBrgb(171, 41, 167)
HSLhsl(302, 61%, 42%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 76%, 2.3%, 32.9%)
CIE-LABlab(42.82, 64.96, -39.12)
CIE-LCHlch(42.82, 75.83, 328.94°)
OKLaboklab(53.52% 0.1832 -0.1082)
OKLCHoklch(53.52% 0.213 329.4)
XYZxyz(24.5624, 13.0357, 37.7742)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29A7 #29AB2D
analogous
#6E29AB #AB29A7 #AB2966
triadic
#AB29A7 #A7AB29 #29A7AB
tetradic
#AB29A7 #AB6E29 #29AB2D #2966AB
square
#AB29A7 #AB6E29 #29AB2D #2966AB
split-complementary
#AB29A7 #66AB29 #29AB6E
monochromatic
#481147 #7A1D77 #AB29A7 #D140CD #DD71DA

Accessibility & contrast

On white

5.82
#AB29A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB29A7
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29A7#FFFFFF#000000##FFFFFF
##AB29A71.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125AAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#B13C67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29a7;
/* rgb */ color: rgb(171, 41, 167);
/* oklch */ color: oklch(53.5% 0.213 329.4);
Tailwind
colors: {
  custom: {
    50: '#c872c1',
    500: '#ab29a7',
    950: '#000000',
  },
}
SCSS
$custom: #ab29a7;
$custom-light: #c872c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29a7",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 301.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53522,
    "c": 0.21273,
    "h": 329.4
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#AB29A7
secondary
#6CC46E
accent
#E44843
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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