#AB4AD8#AB4AD8

#AB4AD8 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.216 H 313.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AB4AD8
RGBrgb(171, 74, 216)
HSLhsl(281, 65%, 57%)
HSVhsv(281, 66%, 85%)
CMYKcmyk(20.8%, 65.7%, 0%, 15.3%)
CIE-LABlab(50.11, 61.54, -56.00)
CIE-LCHlch(50.11, 83.21, 317.70°)
OKLaboklab(59.68% 0.148 -0.1577)
OKLCHoklch(59.68% 0.216 313.2)
XYZxyz(31.6359, 18.5143, 66.8595)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AD8 #77D84A
analogous
#644AD8 #AB4AD8 #D84ABE
triadic
#AB4AD8 #D8AB4A #4AD8AB
tetradic
#AB4AD8 #D8644A #77D84A #4ABED8
square
#AB4AD8 #D8644A #77D84A #4ABED8
split-complementary
#AB4AD8 #BED84A #4AD864
monochromatic
#681E8A #8D29BC #AB4AD8 #C27CE3 #DAAFEE

Accessibility & contrast

On white

4.47
#AB4AD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AB4AD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AD8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AD8#FFFFFF#000000##000000
##AB4AD81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#A6668B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4ad8;
/* rgb */ color: rgb(171, 74, 216);
/* oklch */ color: oklch(59.7% 0.216 313.2);
Tailwind
colors: {
  custom: {
    50: '#c883e5',
    500: '#ab4ad8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ad8;
$custom-light: #c883e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ad8",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 280.986,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.21627,
    "h": 313.2
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#AB4AD8
secondary
#B4DCA2
accent
#E84075
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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