#AB4CD1#AB4CD1

#AB4CD1 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.207 H 314.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD1
RGBrgb(171, 76, 209)
HSLhsl(283, 59%, 56%)
HSVhsv(283, 64%, 82%)
CMYKcmyk(18.2%, 63.6%, 0%, 18%)
CIE-LABlab(50.02, 59.20, -52.16)
CIE-LCHlch(50.02, 78.91, 318.62°)
OKLaboklab(59.47% 0.146 -0.1465)
OKLCHoklch(59.47% 0.207 314.9)
XYZxyz(30.8858, 18.4313, 62.2399)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD1 #72D14C
analogous
#684CD1 #AB4CD1 #D14CB4
triadic
#AB4CD1 #D1AB4C #4CD1AB
tetradic
#AB4CD1 #D1684C #72D14C #4CB4D1
square
#AB4CD1 #D1684C #72D14C #4CB4D1
split-complementary
#AB4CD1 #B4D14C #4CD168
monochromatic
#662181 #8C2EB2 #AB4CD1 #C27DDE #D9ADEA

Accessibility & contrast

On white

4.48
#AB4CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB4CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD1#FFFFFF#000000##000000
##AB4CD11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1572D5
Deuteranopia (green-blind)
#4979CE
Tritanopia (blue-blind)
#A86588
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4cd1;
/* rgb */ color: rgb(171, 76, 209);
/* oklch */ color: oklch(59.5% 0.207 314.9);
Tailwind
colors: {
  custom: {
    50: '#c784e0',
    500: '#ab4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd1;
$custom-light: #c784e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd1",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 282.857,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.20682,
    "h": 314.9
  },
  "luminance": 0.1843
}

Semantic roles & 50–950 ramp

primary
#AB4CD1
secondary
#B1D8A1
accent
#E24672
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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