#AB4DB5#AB4DB5

#AB4DB5 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.179 H 323.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4DB5
RGBrgb(171, 77, 181)
HSLhsl(294, 41%, 51%)
HSVhsv(294, 57%, 71%)
CMYKcmyk(5.5%, 57.5%, 0%, 29%)
CIE-LABlab(48.64, 53.23, -38.17)
CIE-LCHlch(48.64, 65.50, 324.36°)
OKLaboklab(57.97% 0.144 -0.1057)
OKLCHoklch(57.97% 0.179 323.7)
XYZxyz(27.7882, 17.3033, 45.5833)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DB5 #57B54D
analogous
#774DB5 #AB4DB5 #B54D8B
triadic
#AB4DB5 #B5AB4D #4DB5AB
tetradic
#AB4DB5 #B5774D #57B54D #4D8BB5
square
#AB4DB5 #B5774D #57B54D #4D8BB5
split-complementary
#AB4DB5 #8BB54D #4DB577
monochromatic
#5A2860 #833A8B #AB4DB5 #BF78C7 #D4A3D9

Accessibility & contrast

On white

4.71
#AB4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AB4DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DB5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DB5#FFFFFF#000000##FFFFFF
##AB4DB51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB8
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#AE5B7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4db5;
/* rgb */ color: rgb(171, 77, 181);
/* oklch */ color: oklch(58.0% 0.179 323.7);
Tailwind
colors: {
  custom: {
    50: '#c784cb',
    500: '#ab4db5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4db5;
$custom-light: #c784cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4db5",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 294.231,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.17862,
    "h": 323.7
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#AB4DB5
secondary
#9CC698
accent
#D15762
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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