#AB429B#AB429B

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

Color values

HEX#AB429B
RGBrgb(171, 66, 155)
HSLhsl(309, 44%, 46%)
HSVhsv(309, 61%, 67%)
CMYKcmyk(0%, 61.4%, 9.4%, 32.9%)
CIE-LABlab(45.53, 53.69, -27.69)
CIE-LCHlch(45.53, 60.41, 332.71°)
OKLaboklab(55.29% 0.1553 -0.0755)
OKLCHoklch(55.29% 0.173 334.1)
XYZxyz(24.6593, 14.9228, 32.5856)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB429B #42AB52
analogous
#8742AB #AB429B #AB4267
triadic
#AB429B #9BAB42 #429BAB
tetradic
#AB429B #AB8742 #42AB52 #4267AB
square
#AB429B #AB8742 #42AB52 #4267AB
split-complementary
#AB429B #67AB42 #42AB87
monochromatic
#53204B #7F3173 #AB429B #C466B6 #D592CB

Accessibility & contrast

On white

5.27
#AB429B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AB429B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB429B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB429B#FFFFFF#000000##FFFFFF
##AB429B1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#627198
Tritanopia (blue-blind)
#B34968
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab429b;
/* rgb */ color: rgb(171, 66, 155);
/* oklch */ color: oklch(55.3% 0.173 334.1);
Tailwind
colors: {
  custom: {
    50: '#c77db8',
    500: '#ab429b',
    950: '#000000',
  },
}
SCSS
$custom: #ab429b;
$custom-light: #c77db8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab429b",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 309.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.17266,
    "h": 334.1
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#AB429B
secondary
#88C091
accent
#D46754
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB429B

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

Preview Lab → · Contrast checker → · Palette generator →

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