#AB2DB3#AB2DB3

#AB2DB3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB2DB3
RGBrgb(171, 45, 179)
HSLhsl(296, 60%, 44%)
HSVhsv(296, 75%, 70%)
CMYKcmyk(4.5%, 74.9%, 0%, 29.8%)
CIE-LABlab(43.93, 65.70, -44.46)
CIE-LCHlch(43.93, 79.33, 325.91°)
OKLaboklab(54.54% 0.1794 -0.1238)
OKLCHoklch(54.54% 0.218 325.4)
XYZxyz(25.8691, 13.7911, 43.9385)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2DB3 #35B32D
analogous
#682DB3 #AB2DB3 #B32D78
triadic
#AB2DB3 #B3AB2D #2DB3AB
tetradic
#AB2DB3 #B3682D #35B32D #2D78B3
square
#AB2DB3 #B3682D #35B32D #2D78B3
split-complementary
#AB2DB3 #78B32D #2DB368
monochromatic
#4E1451 #7C2182 #AB2DB3 #CA4BD2 #D87CDE

Accessibility & contrast

On white

5.59
#AB2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AB2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2DB3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2DB3#FFFFFF#000000##FFFFFF
##AB2DB31.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#AF456E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab2db3;
/* rgb */ color: rgb(171, 45, 179);
/* oklch */ color: oklch(54.5% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#c874ca',
    500: '#ab2db3',
    950: '#000000',
  },
}
SCSS
$custom: #ab2db3;
$custom-light: #c874ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2db3",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 296.418,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.21794,
    "h": 325.4
  },
  "luminance": 0.13789
}

Semantic roles & 50–950 ramp

primary
#AB2DB3
secondary
#7AC775
accent
#E3454E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AB2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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