#AB4DCD#AB4DCD

#AB4DCD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.3% C 0.202 H 316.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB4DCD
RGBrgb(171, 77, 205)
HSLhsl(284, 56%, 55%)
HSVhsv(284, 62%, 80%)
CMYKcmyk(16.6%, 62.4%, 0%, 19.6%)
CIE-LABlab(49.95, 57.93, -49.98)
CIE-LCHlch(49.95, 76.51, 319.21°)
OKLaboklab(59.35% 0.1449 -0.1401)
OKLCHoklch(59.35% 0.202 316)
XYZxyz(30.4662, 18.3745, 59.6876)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DCD #6FCD4D
analogous
#6B4DCD #AB4DCD #CD4DAF
triadic
#AB4DCD #CDAB4D #4DCDAB
tetradic
#AB4DCD #CD6B4D #6FCD4D #4DAFCD
square
#AB4DCD #CD6B4D #6FCD4D #4DAFCD
split-complementary
#AB4DCD #AFCD4D #4DCD6B
monochromatic
#65237D #8B30AC #AB4DCD #C27DDA #D8ADE8

Accessibility & contrast

On white

4.49
#AB4DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AB4DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DCD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DCD#FFFFFF#000000##000000
##AB4DCD1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#A96486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4dcd;
/* rgb */ color: rgb(171, 77, 205);
/* oklch */ color: oklch(59.3% 0.202 316.0);
Tailwind
colors: {
  custom: {
    50: '#c784dd',
    500: '#ab4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dcd;
$custom-light: #c784dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dcd",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 284.063,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.20155,
    "h": 316
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#AB4DCD
secondary
#AED6A0
accent
#DF4870
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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