#AB429A#AB429A

#AB429A is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.172 H 334.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB429A
RGBrgb(171, 66, 154)
HSLhsl(310, 44%, 46%)
HSVhsv(310, 61%, 67%)
CMYKcmyk(0%, 61.4%, 9.9%, 32.9%)
CIE-LABlab(45.48, 53.53, -27.17)
CIE-LCHlch(45.48, 60.03, 333.09°)
OKLaboklab(55.24% 0.1551 -0.074)
OKLCHoklch(55.24% 0.172 334.5)
XYZxyz(24.5757, 14.8894, 32.1451)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB429A #42AB53
analogous
#8842AB #AB429A #AB4266
triadic
#AB429A #9AAB42 #429AAB
tetradic
#AB429A #AB8842 #42AB53 #4266AB
square
#AB429A #AB8842 #42AB53 #4266AB
split-complementary
#AB429A #66AB42 #42AB88
monochromatic
#53204A #7F3172 #AB429A #C466B5 #D592CA

Accessibility & contrast

On white

5.28
#AB429A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB429A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB429A#FFFFFF#000000##FFFFFF
##AB429A1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab429a;
/* rgb */ color: rgb(171, 66, 154);
/* oklch */ color: oklch(55.2% 0.172 334.5);
Tailwind
colors: {
  custom: {
    50: '#c77db8',
    500: '#ab429a',
    950: '#000000',
  },
}
SCSS
$custom: #ab429a;
$custom-light: #c77db8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab429a",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 309.714,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.17187,
    "h": 334.5
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB429A

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

Preview Lab → · Contrast checker → · Palette generator →

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