#AB2AA0#AB2AA0

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

Color values

HEX#AB2AA0
RGBrgb(171, 42, 160)
HSLhsl(305, 61%, 42%)
HSVhsv(305, 75%, 67%)
CMYKcmyk(0%, 75.4%, 6.4%, 32.9%)
CIE-LABlab(42.54, 63.55, -35.37)
CIE-LCHlch(42.54, 72.73, 330.90°)
OKLaboklab(53.2% 0.1822 -0.0974)
OKLCHoklch(53.2% 0.207 331.9)
XYZxyz(23.9678, 12.8539, 34.4696)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2AA0 #2AAB35
analogous
#762AAB #AB2AA0 #AB2A60
triadic
#AB2AA0 #A0AB2A #2AA0AB
tetradic
#AB2AA0 #AB762A #2AAB35 #2A60AB
square
#AB2AA0 #AB762A #2AAB35 #2A60AB
split-complementary
#AB2AA0 #60AB2A #2AAB76
monochromatic
#491244 #7A1E72 #AB2AA0 #D142C4 #DD73D4

Accessibility & contrast

On white

5.88
#AB2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB2AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2AA0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2AA0#FFFFFF#000000##FFFFFF
##AB2AA01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#546B9D
Tritanopia (blue-blind)
#B23963
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2aa0;
/* rgb */ color: rgb(171, 42, 160);
/* oklch */ color: oklch(53.2% 0.207 331.9);
Tailwind
colors: {
  custom: {
    50: '#c872bc',
    500: '#ab2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2aa0;
$custom-light: #c872bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2aa0",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 305.116,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.20655,
    "h": 331.9
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#AB2AA0
secondary
#6DC474
accent
#E45244
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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