#AB29AB#AB29AB

#AB29AB is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.216 H 328.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AB29AB
RGBrgb(171, 41, 171)
HSLhsl(300, 61%, 42%)
HSVhsv(300, 76%, 67%)
CMYKcmyk(0%, 76%, 0%, 32.9%)
CIE-LABlab(43.04, 65.60, -41.15)
CIE-LCHlch(43.04, 77.44, 327.90°)
OKLaboklab(53.76% 0.1831 -0.1141)
OKLCHoklch(53.76% 0.216 328.1)
XYZxyz(24.9379, 13.1859, 39.7519)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29AB #29AB29
analogous
#6A29AB #AB29AB #AB296A
triadic
#AB29AB #ABAB29 #29ABAB
tetradic
#AB29AB #AB6A29 #29AB29 #296AAB
square
#AB29AB #AB6A29 #29AB29 #296AAB
split-complementary
#AB29AB #6AAB29 #29AB6A
monochromatic
#481148 #7A1D7A #AB29AB #D140D1 #DD71DD

Accessibility & contrast

On white

5.77
#AB29AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB29AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29AB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29AB#FFFFFF#000000##FFFFFF
##AB29AB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAE
Deuteranopia (green-blind)
#4E6BA8
Tritanopia (blue-blind)
#B03E69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab29ab;
/* rgb */ color: rgb(171, 41, 171);
/* oklch */ color: oklch(53.8% 0.216 328.1);
Tailwind
colors: {
  custom: {
    50: '#c872c4',
    500: '#ab29ab',
    950: '#000000',
  },
}
SCSS
$custom: #ab29ab;
$custom-light: #c872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29ab",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 300,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.21574,
    "h": 328.1
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#AB29AB
secondary
#6CC46C
accent
#E44343
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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