#AB4BD2#AB4BD2

#AB4BD2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.209 H 314.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB4BD2
RGBrgb(171, 75, 210)
HSLhsl(283, 60%, 56%)
HSVhsv(283, 64%, 82%)
CMYKcmyk(18.6%, 64.3%, 0%, 17.6%)
CIE-LABlab(49.91, 59.86, -52.90)
CIE-LCHlch(49.91, 79.89, 318.53°)
OKLaboklab(59.41% 0.1471 -0.1486)
OKLCHoklch(59.41% 0.209 314.7)
XYZxyz(30.9416, 18.3442, 62.8712)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BD2 #72D24B
analogous
#674BD2 #AB4BD2 #D24BB5
triadic
#AB4BD2 #D2AB4B #4BD2AB
tetradic
#AB4BD2 #D2674B #72D24B #4BB5D2
square
#AB4BD2 #D2674B #72D24B #4BB5D2
split-complementary
#AB4BD2 #B5D24B #4BD267
monochromatic
#662182 #8C2DB3 #AB4BD2 #C27CDE #D9ADEA

Accessibility & contrast

On white

4.50
#AB4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AB4BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BD2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BD2#FFFFFF#000000##000000
##AB4BD21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D71D6
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#A86488
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4bd2;
/* rgb */ color: rgb(171, 75, 210);
/* oklch */ color: oklch(59.4% 0.209 314.7);
Tailwind
colors: {
  custom: {
    50: '#c883e0',
    500: '#ab4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bd2;
$custom-light: #c883e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bd2",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 282.667,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.20914,
    "h": 314.7
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#AB4BD2
secondary
#B1D8A0
accent
#E34572
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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