#AB4DBC#AB4DBC

#AB4DBC is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.185 H 321.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB4DBC
RGBrgb(171, 77, 188)
HSLhsl(291, 45%, 52%)
HSVhsv(291, 59%, 74%)
CMYKcmyk(9%, 59%, 0%, 26.3%)
CIE-LABlab(49.00, 54.56, -41.67)
CIE-LCHlch(49.00, 68.65, 322.63°)
OKLaboklab(58.36% 0.1445 -0.1159)
OKLCHoklch(58.36% 0.185 321.3)
XYZxyz(28.5245, 17.5979, 49.4614)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DBC #5EBC4D
analogous
#744DBC #AB4DBC #BC4D96
triadic
#AB4DBC #BCAB4D #4DBCAB
tetradic
#AB4DBC #BC744D #5EBC4D #4D96BC
square
#AB4DBC #BC744D #5EBC4D #4D96BC
split-complementary
#AB4DBC #96BC4D #4DBC74
monochromatic
#5E2768 #863894 #AB4DBC #C079CD #D5A6DD

Accessibility & contrast

On white

4.65
#AB4DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AB4DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4DBC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DBC#FFFFFF#000000##FFFFFF
##AB4DBC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#AD5E7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4dbc;
/* rgb */ color: rgb(171, 77, 188);
/* oklch */ color: oklch(58.4% 0.185 321.3);
Tailwind
colors: {
  custom: {
    50: '#c784d0',
    500: '#ab4dbc',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dbc;
$custom-light: #c784d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dbc",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 290.811,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.18519,
    "h": 321.3
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#AB4DBC
secondary
#A2CB9A
accent
#D55367
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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