#AB4CD9#AB4CD9

#AB4CD9 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.215 H 312.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD9
RGBrgb(171, 76, 217)
HSLhsl(280, 65%, 57%)
HSVhsv(280, 65%, 85%)
CMYKcmyk(21.2%, 65%, 0%, 14.9%)
CIE-LABlab(50.50, 60.85, -55.96)
CIE-LCHlch(50.50, 82.67, 317.40°)
OKLaboklab(59.97% 0.1457 -0.1576)
OKLCHoklch(59.97% 0.215 312.8)
XYZxyz(31.9012, 18.8375, 67.5877)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD9 #7AD94C
analogous
#654CD9 #AB4CD9 #D94CC0
triadic
#AB4CD9 #D9AB4C #4CD9AB
tetradic
#AB4CD9 #D9654C #7AD94C #4CC0D9
square
#AB4CD9 #D9654C #7AD94C #4CC0D9
split-complementary
#AB4CD9 #C0D94C #4CD965
monochromatic
#691E8D #8E29BF #AB4CD9 #C37EE4 #DAB1EE

Accessibility & contrast

On white

4.40
#AB4CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AB4CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD9#FFFFFF#000000##000000
##AB4CD91.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#A6688C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4cd9;
/* rgb */ color: rgb(171, 76, 217);
/* oklch */ color: oklch(60.0% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#c884e5',
    500: '#ab4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd9;
$custom-light: #c884e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd9",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 280.426,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.21462,
    "h": 312.8
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#AB4CD9
secondary
#B7DDA4
accent
#E84077
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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