#AB4CD6#AB4CD6

#AB4CD6 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.8% C 0.212 H 313.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD6
RGBrgb(171, 76, 214)
HSLhsl(281, 63%, 57%)
HSVhsv(281, 64%, 84%)
CMYKcmyk(20.1%, 64.5%, 0%, 16.1%)
CIE-LABlab(50.31, 60.23, -54.54)
CIE-LCHlch(50.31, 81.26, 317.84°)
OKLaboklab(59.78% 0.1458 -0.1534)
OKLCHoklch(59.78% 0.212 313.5)
XYZxyz(31.5145, 18.6828, 65.5513)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD6 #77D64C
analogous
#664CD6 #AB4CD6 #D64CBC
triadic
#AB4CD6 #D6AB4C #4CD6AB
tetradic
#AB4CD6 #D6664C #77D64C #4CBCD6
square
#AB4CD6 #D6664C #77D64C #4CBCD6
split-complementary
#AB4CD6 #BCD64C #4CD666
monochromatic
#681F88 #8D2BBA #AB4CD6 #C27EE1 #DAB0ED

Accessibility & contrast

On white

4.43
#AB4CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#AB4CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD6#FFFFFF#000000##000000
##AB4CD61.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0173DA
Deuteranopia (green-blind)
#447AD3
Tritanopia (blue-blind)
#A7678B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4cd6;
/* rgb */ color: rgb(171, 76, 214);
/* oklch */ color: oklch(59.8% 0.212 313.5);
Tailwind
colors: {
  custom: {
    50: '#c884e3',
    500: '#ab4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd6;
$custom-light: #c884e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd6",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 281.304,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.2117,
    "h": 313.5
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#AB4CD6
secondary
#B4DBA3
accent
#E64275
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #AB4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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