#AB2DB6#AB2DB6

#AB2DB6 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 324.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB2DB6
RGBrgb(171, 45, 182)
HSLhsl(295, 60%, 45%)
HSVhsv(295, 75%, 71%)
CMYKcmyk(6%, 75.3%, 0%, 28.6%)
CIE-LABlab(44.11, 66.21, -45.95)
CIE-LCHlch(44.11, 80.59, 325.24°)
OKLaboklab(54.72% 0.1792 -0.1281)
OKLCHoklch(54.72% 0.22 324.4)
XYZxyz(26.1758, 13.9138, 45.5538)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DB6 #38B62D
analogous
#662DB6 #AB2DB6 #B62D7D
triadic
#AB2DB6 #B6AB2D #2DB6AB
tetradic
#AB2DB6 #B6662D #38B62D #2D7DB6
square
#AB2DB6 #B6662D #38B62D #2D7DB6
split-complementary
#AB2DB6 #7DB62D #2DB666
monochromatic
#4F1554 #7D2185 #AB2DB6 #C84DD3 #D77EDF

Accessibility & contrast

On white

5.55
#AB2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB2DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DB6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DB6#FFFFFF#000000##FFFFFF
##AB2DB61.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#486DB3
Tritanopia (blue-blind)
#AE4670
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2db6;
/* rgb */ color: rgb(171, 45, 182);
/* oklch */ color: oklch(54.7% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#c874cc',
    500: '#ab2db6',
    950: '#000000',
  },
}
SCSS
$custom: #ab2db6;
$custom-light: #c874cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2db6",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 295.182,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.22031,
    "h": 324.4
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#AB2DB6
secondary
#7DC877
accent
#E34451
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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