#AB2DA4#AB2DA4

#AB2DA4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.206 H 330.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AB2DA4
RGBrgb(171, 45, 164)
HSLhsl(303, 58%, 42%)
HSVhsv(303, 74%, 67%)
CMYKcmyk(0%, 73.7%, 4.1%, 32.9%)
CIE-LABlab(43.09, 63.23, -36.90)
CIE-LCHlch(43.09, 73.21, 329.73°)
OKLaboklab(53.66% 0.1795 -0.1018)
OKLCHoklch(53.66% 0.206 330.4)
XYZxyz(24.4337, 13.2170, 36.3790)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DA4 #2DAB34
analogous
#732DAB #AB2DA4 #AB2D65
triadic
#AB2DA4 #A4AB2D #2DA4AB
tetradic
#AB2DA4 #AB732D #2DAB34 #2D65AB
square
#AB2DA4 #AB732D #2DAB34 #2D65AB
split-complementary
#AB2DA4 #65AB2D #2DAB73
monochromatic
#4A1447 #7B2076 #AB2DA4 #CE47C7 #DB77D6

Accessibility & contrast

On white

5.76
#AB2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AB2DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DA4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DA4#FFFFFF#000000##FFFFFF
##AB2DA41.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA7
Deuteranopia (green-blind)
#536CA1
Tritanopia (blue-blind)
#B23D66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab2da4;
/* rgb */ color: rgb(171, 45, 164);
/* oklch */ color: oklch(53.7% 0.206 330.4);
Tailwind
colors: {
  custom: {
    50: '#c873bf',
    500: '#ab2da4',
    950: '#000000',
  },
}
SCSS
$custom: #ab2da4;
$custom-light: #c873bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2da4",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 303.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.20639,
    "h": 330.4
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#AB2DA4
secondary
#71C375
accent
#E24F46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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