#AB2BA0#AB2BA0

#AB2BA0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.206 H 331.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB2BA0
RGBrgb(171, 43, 160)
HSLhsl(305, 60%, 42%)
HSVhsv(305, 75%, 67%)
CMYKcmyk(0%, 74.9%, 6.4%, 32.9%)
CIE-LABlab(42.65, 63.24, -35.20)
CIE-LCHlch(42.65, 72.38, 330.90°)
OKLaboklab(53.28% 0.1813 -0.0969)
OKLCHoklch(53.28% 0.206 331.9)
XYZxyz(24.0037, 12.9257, 34.4816)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2BA0 #2BAB36
analogous
#762BAB #AB2BA0 #AB2B60
triadic
#AB2BA0 #A0AB2B #2BA0AB
tetradic
#AB2BA0 #AB762B #2BAB36 #2B60AB
square
#AB2BA0 #AB762B #2BAB36 #2B60AB
split-complementary
#AB2BA0 #60AB2B #2BAB76
monochromatic
#491244 #7A1F72 #AB2BA0 #D043C4 #DC74D3

Accessibility & contrast

On white

5.86
#AB2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB2BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2BA0
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2BA0#FFFFFF#000000##FFFFFF
##AB2BA01.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2159A3
Deuteranopia (green-blind)
#556B9D
Tritanopia (blue-blind)
#B23A63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab2ba0;
/* rgb */ color: rgb(171, 43, 160);
/* oklch */ color: oklch(53.3% 0.206 331.9);
Tailwind
colors: {
  custom: {
    50: '#c872bc',
    500: '#ab2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ba0;
$custom-light: #c872bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ba0",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 305.156,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.20552,
    "h": 331.9
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#AB2BA0
secondary
#6EC475
accent
#E35245
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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