#AB2DA9#AB2DA9

#AB2DA9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.210 H 328.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AB2DA9
RGBrgb(171, 45, 169)
HSLhsl(301, 58%, 42%)
HSVhsv(301, 74%, 67%)
CMYKcmyk(0%, 73.7%, 1.2%, 32.9%)
CIE-LABlab(43.36, 64.04, -39.45)
CIE-LCHlch(43.36, 75.21, 328.37°)
OKLaboklab(53.95% 0.1796 -0.1092)
OKLCHoklch(53.95% 0.21 328.7)
XYZxyz(24.8942, 13.4011, 38.8039)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DA9 #2DAB2F
analogous
#6E2DAB #AB2DA9 #AB2D6A
triadic
#AB2DA9 #A9AB2D #2DA9AB
tetradic
#AB2DA9 #AB6E2D #2DAB2F #2D6AAB
square
#AB2DA9 #AB6E2D #2DAB2F #2D6AAB
split-complementary
#AB2DA9 #6AAB2D #2DAB6E
monochromatic
#4A1449 #7B2079 #AB2DA9 #CE47CC #DB77DA

Accessibility & contrast

On white

5.71
#AB2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AB2DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DA9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DA9#FFFFFF#000000##FFFFFF
##AB2DA91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175CAC
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#B14069
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2da9;
/* rgb */ color: rgb(171, 45, 169);
/* oklch */ color: oklch(53.9% 0.210 328.7);
Tailwind
colors: {
  custom: {
    50: '#c873c3',
    500: '#ab2da9',
    950: '#000000',
  },
}
SCSS
$custom: #ab2da9;
$custom-light: #c873c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2da9",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 300.952,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.21018,
    "h": 328.7
  },
  "luminance": 0.13399
}

Semantic roles & 50–950 ramp

primary
#AB2DA9
secondary
#71C372
accent
#E24946
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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