#AB429C#AB429C

#AB429C is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.173 H 333.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB429C
RGBrgb(171, 66, 156)
HSLhsl(309, 44%, 46%)
HSVhsv(309, 61%, 67%)
CMYKcmyk(0%, 61.4%, 8.8%, 32.9%)
CIE-LABlab(45.57, 53.85, -28.22)
CIE-LCHlch(45.57, 60.80, 332.34°)
OKLaboklab(55.33% 0.1554 -0.077)
OKLCHoklch(55.33% 0.173 333.6)
XYZxyz(24.7436, 14.9565, 33.0297)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB429C #42AB51
analogous
#8642AB #AB429C #AB4268
triadic
#AB429C #9CAB42 #429CAB
tetradic
#AB429C #AB8642 #42AB51 #4268AB
square
#AB429C #AB8642 #42AB51 #4268AB
split-complementary
#AB429C #68AB42 #42AB86
monochromatic
#53204B #7F3174 #AB429C #C466B7 #D592CC

Accessibility & contrast

On white

5.26
#AB429C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AB429C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB429C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB429C#FFFFFF#000000##FFFFFF
##AB429C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629F
Deuteranopia (green-blind)
#617199
Tritanopia (blue-blind)
#B24A69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab429c;
/* rgb */ color: rgb(171, 66, 156);
/* oklch */ color: oklch(55.3% 0.173 333.6);
Tailwind
colors: {
  custom: {
    50: '#c77db9',
    500: '#ab429c',
    950: '#000000',
  },
}
SCSS
$custom: #ab429c;
$custom-light: #c77db9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab429c",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 308.571,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55334,
    "c": 0.17345,
    "h": 333.6
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#AB429C
secondary
#88C090
accent
#D46654
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB429C

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

Preview Lab → · Contrast checker → · Palette generator →

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