#AB4DC1#AB4DC1

#AB4DC1 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.190 H 319.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB4DC1
RGBrgb(171, 77, 193)
HSLhsl(289, 48%, 53%)
HSVhsv(289, 60%, 76%)
CMYKcmyk(11.4%, 60.1%, 0%, 24.3%)
CIE-LABlab(49.27, 55.54, -44.14)
CIE-LCHlch(49.27, 70.94, 321.52°)
OKLaboklab(58.64% 0.1447 -0.123)
OKLCHoklch(58.64% 0.19 319.6)
XYZxyz(29.0729, 17.8172, 52.3494)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DC1 #63C14D
analogous
#714DC1 #AB4DC1 #C14D9D
triadic
#AB4DC1 #C1AB4D #4DC1AB
tetradic
#AB4DC1 #C1714D #63C14D #4D9DC1
square
#AB4DC1 #C1714D #63C14D #4D9DC1
split-complementary
#AB4DC1 #9DC14D #4DC171
monochromatic
#60266D #88369B #AB4DC1 #C07AD1 #D6A8E1

Accessibility & contrast

On white

4.60
#AB4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AB4DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DC1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DC1#FFFFFF#000000##FFFFFF
##AB4DC11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#AC6080
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4dc1;
/* rgb */ color: rgb(171, 77, 193);
/* oklch */ color: oklch(58.6% 0.190 319.6);
Tailwind
colors: {
  custom: {
    50: '#c784d4',
    500: '#ab4dc1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dc1;
$custom-light: #c784d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dc1",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 288.621,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.18995,
    "h": 319.6
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#AB4DC1
secondary
#A5CE9C
accent
#D8506A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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