#AB4DD5#AB4DD5

#AB4DD5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.209 H 313.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AB4DD5
RGBrgb(171, 77, 213)
HSLhsl(281, 62%, 57%)
HSVhsv(281, 64%, 84%)
CMYKcmyk(19.7%, 63.8%, 0%, 16.5%)
CIE-LABlab(50.42, 59.57, -53.81)
CIE-LCHlch(50.42, 80.27, 317.91°)
OKLaboklab(59.84% 0.1447 -0.1513)
OKLCHoklch(59.84% 0.209 313.7)
XYZxyz(31.4567, 18.7707, 64.9039)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DD5 #77D54D
analogous
#674DD5 #AB4DD5 #D54DBB
triadic
#AB4DD5 #D5AB4D #4DD5AB
tetradic
#AB4DD5 #D5674D #77D54D #4DBBD5
square
#AB4DD5 #D5674D #77D54D #4DBBD5
split-complementary
#AB4DD5 #BBD54D #4DD567
monochromatic
#682088 #8D2CB9 #AB4DD5 #C27FE1 #DAB0EC

Accessibility & contrast

On white

4.42
#AB4DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AB4DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DD5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DD5#FFFFFF#000000##000000
##AB4DD51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#A7678A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4dd5;
/* rgb */ color: rgb(171, 77, 213);
/* oklch */ color: oklch(59.8% 0.209 313.7);
Tailwind
colors: {
  custom: {
    50: '#c885e3',
    500: '#ab4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dd5;
$custom-light: #c885e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dd5",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 281.471,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59838,
    "c": 0.20937,
    "h": 313.7
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#AB4DD5
secondary
#B4DBA3
accent
#E54375
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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