#AB289A#AB289A

#AB289A is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.204 H 334.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AB289A
RGBrgb(171, 40, 154)
HSLhsl(308, 62%, 41%)
HSVhsv(308, 77%, 67%)
CMYKcmyk(0%, 76.6%, 9.9%, 32.9%)
CIE-LABlab(42.02, 63.24, -32.59)
CIE-LCHlch(42.02, 71.15, 332.73°)
OKLaboklab(52.72% 0.1837 -0.0893)
OKLCHoklch(52.72% 0.204 334.1)
XYZxyz(23.3863, 12.5107, 31.7487)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB289A #28AB39
analogous
#7B28AB #AB289A #AB2859
triadic
#AB289A #9AAB28 #289AAB
tetradic
#AB289A #AB7B28 #28AB39 #2859AB
square
#AB289A #AB7B28 #28AB39 #2859AB
split-complementary
#AB289A #59AB28 #28AB7B
monochromatic
#481141 #791C6D #AB289A #D23EBF #DE70CF

Accessibility & contrast

On white

6.00
#AB289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB289A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB289A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB289A#FFFFFF#000000##FFFFFF
##AB289A1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#B3355F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab289a;
/* rgb */ color: rgb(171, 40, 154);
/* oklch */ color: oklch(52.7% 0.204 334.1);
Tailwind
colors: {
  custom: {
    50: '#c871b8',
    500: '#ab289a',
    950: '#000000',
  },
}
SCSS
$custom: #ab289a;
$custom-light: #c871b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab289a",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 307.786,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.20424,
    "h": 334.1
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#AB289A
secondary
#6AC476
accent
#E55843
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB289A

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

Preview Lab → · Contrast checker → · Palette generator →

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