#AB4DB1#AB4DB1

#AB4DB1 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.175 H 325.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB4DB1
RGBrgb(171, 77, 177)
HSLhsl(296, 39%, 50%)
HSVhsv(296, 56%, 69%)
CMYKcmyk(3.4%, 56.5%, 0%, 30.6%)
CIE-LABlab(48.44, 52.48, -36.15)
CIE-LCHlch(48.44, 63.73, 325.44°)
OKLaboklab(57.76% 0.1436 -0.0999)
OKLCHoklch(57.76% 0.175 325.2)
XYZxyz(27.3836, 17.1415, 43.4527)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DB1 #53B14D
analogous
#794DB1 #AB4DB1 #B14D85
triadic
#AB4DB1 #B1AB4D #4DB1AB
tetradic
#AB4DB1 #B1794D #53B14D #4D85B1
square
#AB4DB1 #B1794D #53B14D #4D85B1
split-complementary
#AB4DB1 #85B14D #4DB179
monochromatic
#59285C #823A86 #AB4DB1 #BF77C4 #D3A2D6

Accessibility & contrast

On white

4.74
#AB4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB4DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DB1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DB1#FFFFFF#000000##FFFFFF
##AB4DB11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB4
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#AF5A78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab4db1;
/* rgb */ color: rgb(171, 77, 177);
/* oklch */ color: oklch(57.8% 0.175 325.2);
Tailwind
colors: {
  custom: {
    50: '#c684c8',
    500: '#ab4db1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4db1;
$custom-light: #c684c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4db1",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 296.4,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.17492,
    "h": 325.2
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#AB4DB1
secondary
#99C496
accent
#CF5960
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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