#AB4CD5#AB4CD5

#AB4CD5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.211 H 313.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD5
RGBrgb(171, 76, 213)
HSLhsl(282, 62%, 57%)
HSVhsv(282, 64%, 84%)
CMYKcmyk(19.7%, 64.3%, 0%, 16.5%)
CIE-LABlab(50.25, 60.02, -54.07)
CIE-LCHlch(50.25, 80.79, 317.99°)
OKLaboklab(59.72% 0.1459 -0.1521)
OKLCHoklch(59.72% 0.211 313.8)
XYZxyz(31.3872, 18.6319, 64.8808)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD5 #76D54C
analogous
#674CD5 #AB4CD5 #D54CBB
triadic
#AB4CD5 #D5AB4C #4CD5AB
tetradic
#AB4CD5 #D5674C #76D54C #4CBBD5
square
#AB4CD5 #D5674C #76D54C #4CBBD5
split-complementary
#AB4CD5 #BBD54C #4CD567
monochromatic
#672087 #8D2BB9 #AB4CD5 #C27EE1 #DAAFEC

Accessibility & contrast

On white

4.44
#AB4CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AB4CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD5#FFFFFF#000000##000000
##AB4CD51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0672D9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#A7668A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4cd5;
/* rgb */ color: rgb(171, 76, 213);
/* oklch */ color: oklch(59.7% 0.211 313.8);
Tailwind
colors: {
  custom: {
    50: '#c884e3',
    500: '#ab4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd5;
$custom-light: #c884e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd5",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 281.606,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59719,
    "c": 0.21072,
    "h": 313.8
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#AB4CD5
secondary
#B4DAA2
accent
#E54374
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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