#AB2BA9#AB2BA9

#AB2BA9 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.212 H 328.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AB2BA9
RGBrgb(171, 43, 169)
HSLhsl(301, 60%, 42%)
HSVhsv(301, 75%, 67%)
CMYKcmyk(0%, 74.9%, 1.2%, 32.9%)
CIE-LABlab(43.14, 64.67, -39.80)
CIE-LCHlch(43.14, 75.94, 328.39°)
OKLaboklab(53.79% 0.1814 -0.1102)
OKLCHoklch(53.79% 0.212 328.7)
XYZxyz(24.8197, 13.2521, 38.7791)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BA9 #2BAB2D
analogous
#6D2BAB #AB2BA9 #AB2B69
triadic
#AB2BA9 #A9AB2B #2BA9AB
tetradic
#AB2BA9 #AB6D2B #2BAB2D #2B69AB
square
#AB2BA9 #AB6D2B #2BAB2D #2B69AB
split-complementary
#AB2BA9 #69AB2B #2BAB6D
monochromatic
#491248 #7A1F79 #AB2BA9 #D043CE #DC74DA

Accessibility & contrast

On white

5.75
#AB2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AB2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BA9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BA9#FFFFFF#000000##FFFFFF
##AB2BA91.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAC
Deuteranopia (green-blind)
#506CA6
Tritanopia (blue-blind)
#B13F68
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2ba9;
/* rgb */ color: rgb(171, 43, 169);
/* oklch */ color: oklch(53.8% 0.212 328.7);
Tailwind
colors: {
  custom: {
    50: '#c873c3',
    500: '#ab2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ba9;
$custom-light: #c873c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ba9",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 300.938,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53789,
    "c": 0.21224,
    "h": 328.7
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#AB2BA9
secondary
#6EC46F
accent
#E34745
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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