#AB2DB1#AB2DB1

#AB2DB1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.216 H 326.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB2DB1
RGBrgb(171, 45, 177)
HSLhsl(297, 59%, 44%)
HSVhsv(297, 75%, 69%)
CMYKcmyk(3.4%, 74.6%, 0%, 30.6%)
CIE-LABlab(43.82, 65.36, -43.47)
CIE-LCHlch(43.82, 78.50, 326.37°)
OKLaboklab(54.42% 0.1795 -0.1209)
OKLCHoklch(54.42% 0.216 326)
XYZxyz(25.6683, 13.7108, 42.8809)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DB1 #33B12D
analogous
#692DB1 #AB2DB1 #B12D75
triadic
#AB2DB1 #B1AB2D #2DB1AB
tetradic
#AB2DB1 #B1692D #33B12D #2D75B1
square
#AB2DB1 #B1692D #33B12D #2D75B1
split-complementary
#AB2DB1 #75B12D #2DB169
monochromatic
#4D144F #7C2180 #AB2DB1 #CB4AD1 #D97BDD

Accessibility & contrast

On white

5.61
#AB2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB2DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DB1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DB1#FFFFFF#000000##FFFFFF
##AB2DB11.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#AF446D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2db1;
/* rgb */ color: rgb(171, 45, 177);
/* oklch */ color: oklch(54.4% 0.216 326.0);
Tailwind
colors: {
  custom: {
    50: '#c874c9',
    500: '#ab2db1',
    950: '#000000',
  },
}
SCSS
$custom: #ab2db1;
$custom-light: #c874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2db1",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 297.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.21638,
    "h": 326
  },
  "luminance": 0.13709
}

Semantic roles & 50–950 ramp

primary
#AB2DB1
secondary
#78C674
accent
#E3454C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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