#AB4BD8#AB4BD8

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

Color values

HEX#AB4BD8
RGBrgb(171, 75, 216)
HSLhsl(281, 64%, 57%)
HSVhsv(281, 65%, 85%)
CMYKcmyk(20.8%, 65.3%, 0%, 15.3%)
CIE-LABlab(50.27, 61.09, -55.75)
CIE-LCHlch(50.27, 82.70, 317.62°)
OKLaboklab(59.79% 0.1469 -0.157)
OKLCHoklch(59.79% 0.215 313.1)
XYZxyz(31.7032, 18.6489, 66.8820)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BD8 #78D84B
analogous
#654BD8 #AB4BD8 #D84BBF
triadic
#AB4BD8 #D8AB4B #4BD8AB
tetradic
#AB4BD8 #D8654B #78D84B #4BBFD8
square
#AB4BD8 #D8654B #78D84B #4BBFD8
split-complementary
#AB4BD8 #BFD84B #4BD865
monochromatic
#681E8B #8E29BD #AB4BD8 #C27DE3 #DAB0EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4BD8#FFFFFF#000000##000000
##AB4BD81.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)
#0073DC
Deuteranopia (green-blind)
#417AD5
Tritanopia (blue-blind)
#A6678B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4bd8;
/* rgb */ color: rgb(171, 75, 216);
/* oklch */ color: oklch(59.8% 0.215 313.1);
Tailwind
colors: {
  custom: {
    50: '#c884e5',
    500: '#ab4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bd8;
$custom-light: #c884e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bd8",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 280.851,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.21497,
    "h": 313.1
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#AB4BD8
secondary
#B5DCA3
accent
#E74076
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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