#AB4DC0#AB4DC0

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

Color values

HEX#AB4DC0
RGBrgb(171, 77, 192)
HSLhsl(289, 48%, 53%)
HSVhsv(289, 60%, 75%)
CMYKcmyk(10.9%, 59.9%, 0%, 24.7%)
CIE-LABlab(49.22, 55.34, -43.65)
CIE-LCHlch(49.22, 70.48, 321.74°)
OKLaboklab(58.58% 0.1447 -0.1216)
OKLCHoklch(58.58% 0.189 319.9)
XYZxyz(28.9617, 17.7727, 51.7639)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DC0 #62C04D
analogous
#714DC0 #AB4DC0 #C04D9C
triadic
#AB4DC0 #C0AB4D #4DC0AB
tetradic
#AB4DC0 #C0714D #62C04D #4D9CC0
square
#AB4DC0 #C0714D #62C04D #4D9CC0
split-complementary
#AB4DC0 #9CC04D #4DC071
monochromatic
#60266C #873699 #AB4DC0 #C07AD0 #D6A7E0

Accessibility & contrast

On white

4.61
#AB4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AB4DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DC0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DC0#FFFFFF#000000##FFFFFF
##AB4DC01.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC4
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#AC5F7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4dc0;
/* rgb */ color: rgb(171, 77, 192);
/* oklch */ color: oklch(58.6% 0.189 319.9);
Tailwind
colors: {
  custom: {
    50: '#c784d3',
    500: '#ab4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dc0;
$custom-light: #c784d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dc0",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 289.043,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.189,
    "h": 319.9
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#AB4DC0
secondary
#A5CD9B
accent
#D75069
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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