#AB4BD9#AB4BD9

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

Color values

HEX#AB4BD9
RGBrgb(171, 75, 217)
HSLhsl(281, 65%, 57%)
HSVhsv(281, 65%, 85%)
CMYKcmyk(21.2%, 65.4%, 0%, 14.9%)
CIE-LABlab(50.34, 61.30, -56.22)
CIE-LCHlch(50.34, 83.18, 317.48°)
OKLaboklab(59.86% 0.1468 -0.1583)
OKLCHoklch(59.86% 0.216 312.8)
XYZxyz(31.8328, 18.7007, 67.5649)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BD9 #79D94B
analogous
#644BD9 #AB4BD9 #D94BC0
triadic
#AB4BD9 #D9AB4B #4BD9AB
tetradic
#AB4BD9 #D9644B #79D94B #4BC0D9
square
#AB4BD9 #D9644B #79D94B #4BC0D9
split-complementary
#AB4BD9 #C0D94B #4BD964
monochromatic
#681E8C #8E28BF #AB4BD9 #C37EE4 #DAB0EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4BD9#FFFFFF#000000##000000
##AB4BD91.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)
#0073DD
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#A6678C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4bd9;
/* rgb */ color: rgb(171, 75, 217);
/* oklch */ color: oklch(59.9% 0.216 312.8);
Tailwind
colors: {
  custom: {
    50: '#c884e5',
    500: '#ab4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bd9;
$custom-light: #c884e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bd9",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 280.563,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59856,
    "c": 0.21593,
    "h": 312.8
  },
  "luminance": 0.187
}

Semantic roles & 50–950 ramp

primary
#AB4BD9
secondary
#B6DDA3
accent
#E84076
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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