#AB29AA#AB29AA

#AB29AA is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.215 H 328.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB29AA
RGBrgb(171, 41, 170)
HSLhsl(300, 61%, 42%)
HSVhsv(300, 76%, 67%)
CMYKcmyk(0%, 76%, 0.6%, 32.9%)
CIE-LABlab(42.99, 65.44, -40.64)
CIE-LCHlch(42.99, 77.03, 328.16°)
OKLaboklab(53.7% 0.1831 -0.1126)
OKLCHoklch(53.7% 0.215 328.4)
XYZxyz(24.8430, 13.1479, 39.2518)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB29AA #29AB2A
analogous
#6B29AB #AB29AA #AB2969
triadic
#AB29AA #AAAB29 #29AAAB
tetradic
#AB29AA #AB6B29 #29AB2A #2969AB
square
#AB29AA #AB6B29 #29AB2A #2969AB
split-complementary
#AB29AA #69AB29 #29AB6B
monochromatic
#481148 #7A1D79 #AB29AA #D140D0 #DD71DC

Accessibility & contrast

On white

5.79
#AB29AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB29AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB29AA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB29AA#FFFFFF#000000##FFFFFF
##AB29AA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5BAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#B13E68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab29aa;
/* rgb */ color: rgb(171, 41, 170);
/* oklch */ color: oklch(53.7% 0.215 328.4);
Tailwind
colors: {
  custom: {
    50: '#c872c4',
    500: '#ab29aa',
    950: '#000000',
  },
}
SCSS
$custom: #ab29aa;
$custom-light: #c872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab29aa",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 300.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.21498,
    "h": 328.4
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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