#AB29B2#AB29B2

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

Color values

HEX#AB29B2
RGBrgb(171, 41, 178)
HSLhsl(297, 63%, 43%)
HSVhsv(297, 77%, 70%)
CMYKcmyk(3.9%, 77%, 0%, 30.2%)
CIE-LABlab(43.45, 66.76, -44.65)
CIE-LCHlch(43.45, 80.31, 326.23°)
OKLaboklab(54.18% 0.1828 -0.1243)
OKLCHoklch(54.18% 0.221 325.8)
XYZxyz(25.6229, 13.4599, 43.3593)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29B2 #30B229
analogous
#6629B2 #AB29B2 #B22975
triadic
#AB29B2 #B2AB29 #29B2AB
tetradic
#AB29B2 #B26629 #30B229 #2975B2
square
#AB29B2 #B26629 #30B229 #2975B2
split-complementary
#AB29B2 #75B229 #29B266
monochromatic
#4B124F #7B1E80 #AB29B2 #CD44D4 #DA76DF

Accessibility & contrast

On white

5.69
#AB29B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB29B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29B2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29B2#FFFFFF#000000##FFFFFF
##AB29B21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab29b2;
/* rgb */ color: rgb(171, 41, 178);
/* oklch */ color: oklch(54.2% 0.221 325.8);
Tailwind
colors: {
  custom: {
    50: '#c872ca',
    500: '#ab29b2',
    950: '#000000',
  },
}
SCSS
$custom: #ab29b2;
$custom-light: #c872ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29b2",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 296.934,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.22107,
    "h": 325.8
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#AB29B2
secondary
#74C770
accent
#E6424B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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