#AB4DD1#AB4DD1

#AB4DD1 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.6% C 0.205 H 314.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4DD1
RGBrgb(171, 77, 209)
HSLhsl(283, 59%, 56%)
HSVhsv(283, 63%, 82%)
CMYKcmyk(18.2%, 63.2%, 0%, 18%)
CIE-LABlab(50.18, 58.75, -51.90)
CIE-LCHlch(50.18, 78.39, 318.54°)
OKLaboklab(59.59% 0.1448 -0.1457)
OKLCHoklch(59.59% 0.205 314.8)
XYZxyz(30.9552, 18.5702, 62.2630)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DD1 #73D14D
analogous
#694DD1 #AB4DD1 #D14DB5
triadic
#AB4DD1 #D1AB4D #4DD1AB
tetradic
#AB4DD1 #D1694D #73D14D #4DB5D1
square
#AB4DD1 #D1694D #73D14D #4DB5D1
split-complementary
#AB4DD1 #B5D14D #4DD169
monochromatic
#662282 #8C2EB3 #AB4DD1 #C27EDE #D9AEEA

Accessibility & contrast

On white

4.46
#AB4DD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AB4DD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DD1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DD1#FFFFFF#000000##000000
##AB4DD11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1972D5
Deuteranopia (green-blind)
#4A7ACE
Tritanopia (blue-blind)
#A86588
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4dd1;
/* rgb */ color: rgb(171, 77, 209);
/* oklch */ color: oklch(59.6% 0.205 314.8);
Tailwind
colors: {
  custom: {
    50: '#c785e0',
    500: '#ab4dd1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dd1;
$custom-light: #c785e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dd1",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 282.727,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5959,
    "c": 0.20546,
    "h": 314.8
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#AB4DD1
secondary
#B1D8A2
accent
#E24673
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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