#AB4DC9#AB4DC9

#AB4DC9 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.198 H 317.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4DC9
RGBrgb(171, 77, 201)
HSLhsl(285, 53%, 55%)
HSVhsv(285, 62%, 79%)
CMYKcmyk(14.9%, 61.7%, 0%, 21.2%)
CIE-LABlab(49.72, 57.12, -48.05)
CIE-LCHlch(49.72, 74.64, 319.93°)
OKLaboklab(59.11% 0.1449 -0.1344)
OKLCHoklch(59.11% 0.198 317.1)
XYZxyz(29.9895, 18.1839, 57.1771)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DC9 #6BC94D
analogous
#6D4DC9 #AB4DC9 #C94DA9
triadic
#AB4DC9 #C9AB4D #4DC9AB
tetradic
#AB4DC9 #C96D4D #6BC94D #4DA9C9
square
#AB4DC9 #C96D4D #6BC94D #4DA9C9
split-complementary
#AB4DC9 #A9C94D #4DC96D
monochromatic
#632477 #8A32A6 #AB4DC9 #C17CD7 #D7ABE5

Accessibility & contrast

On white

4.53
#AB4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AB4DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DC9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DC9#FFFFFF#000000##000000
##AB4DC91.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2770CD
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#AA6284
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4dc9;
/* rgb */ color: rgb(171, 77, 201);
/* oklch */ color: oklch(59.1% 0.198 317.1);
Tailwind
colors: {
  custom: {
    50: '#c784da',
    500: '#ab4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dc9;
$custom-light: #c784da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dc9",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 285.484,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.19766,
    "h": 317.1
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#AB4DC9
secondary
#ABD39F
accent
#DD4B6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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