#AB29B3#AB29B3

#AB29B3 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.222 H 325.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AB29B3
RGBrgb(171, 41, 179)
HSLhsl(297, 63%, 43%)
HSVhsv(297, 77%, 70%)
CMYKcmyk(4.5%, 77.1%, 0%, 29.8%)
CIE-LABlab(43.51, 66.92, -45.14)
CIE-LCHlch(43.51, 80.72, 326.00°)
OKLaboklab(54.24% 0.1828 -0.1257)
OKLCHoklch(54.24% 0.222 325.5)
XYZxyz(25.7236, 13.5002, 43.8900)
Luminance0.1350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29B3 #31B329
analogous
#6629B3 #AB29B3 #B32976
triadic
#AB29B3 #B3AB29 #29B3AB
tetradic
#AB29B3 #B36629 #31B329 #2976B3
square
#AB29B3 #B36629 #31B329 #2976B3
split-complementary
#AB29B3 #76B329 #29B366
monochromatic
#4C124F #7B1E81 #AB29B3 #CC45D4 #DA77E0

Accessibility & contrast

On white

5.68
#AB29B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB29B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29B3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29B3#FFFFFF#000000##FFFFFF
##AB29B31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#AF426D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab29b3;
/* rgb */ color: rgb(171, 41, 179);
/* oklch */ color: oklch(54.2% 0.222 325.5);
Tailwind
colors: {
  custom: {
    50: '#c872ca',
    500: '#ab29b3',
    950: '#000000',
  },
}
SCSS
$custom: #ab29b3;
$custom-light: #c872ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29b3",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 296.522,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.22184,
    "h": 325.5
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#AB29B3
secondary
#75C770
accent
#E6424C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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