#AB4DCB#AB4DCB

#AB4DCB is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.2% C 0.200 H 316.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB4DCB
RGBrgb(171, 77, 203)
HSLhsl(285, 55%, 55%)
HSVhsv(285, 62%, 80%)
CMYKcmyk(15.8%, 62.1%, 0%, 20.4%)
CIE-LABlab(49.83, 57.53, -49.02)
CIE-LCHlch(49.83, 75.58, 319.57°)
OKLaboklab(59.23% 0.1449 -0.1373)
OKLCHoklch(59.23% 0.2 316.5)
XYZxyz(30.2263, 18.2786, 58.4243)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DCB #6DCB4D
analogous
#6C4DCB #AB4DCB #CB4DAC
triadic
#AB4DCB #CBAB4D #4DCBAB
tetradic
#AB4DCB #CB6C4D #6DCB4D #4DACCB
square
#AB4DCB #CB6C4D #6DCB4D #4DACCB
split-complementary
#AB4DCB #ACCB4D #4DCB6C
monochromatic
#64247A #8B31A9 #AB4DCB #C17CD9 #D8ACE7

Accessibility & contrast

On white

4.51
#AB4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB4DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DCB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DCB#FFFFFF#000000##000000
##AB4DCB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#4F79C8
Tritanopia (blue-blind)
#A96385
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4dcb;
/* rgb */ color: rgb(171, 77, 203);
/* oklch */ color: oklch(59.2% 0.200 316.5);
Tailwind
colors: {
  custom: {
    50: '#c784db',
    500: '#ab4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dcb;
$custom-light: #c784db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dcb",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 284.762,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.1996,
    "h": 316.5
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#AB4DCB
secondary
#ADD49F
accent
#DE4A6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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