#AB4AD2#AB4AD2

#AB4AD2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.210 H 314.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4AD2
RGBrgb(171, 74, 210)
HSLhsl(283, 60%, 56%)
HSVhsv(283, 65%, 82%)
CMYKcmyk(18.6%, 64.8%, 0%, 17.6%)
CIE-LABlab(49.75, 60.31, -53.16)
CIE-LCHlch(49.75, 80.39, 318.60°)
OKLaboklab(59.3% 0.1483 -0.1494)
OKLCHoklch(59.3% 0.21 314.8)
XYZxyz(30.8743, 18.2097, 62.8487)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4AD2 #71D24A
analogous
#674AD2 #AB4AD2 #D24AB5
triadic
#AB4AD2 #D2AB4A #4AD2AB
tetradic
#AB4AD2 #D2674A #71D24A #4AB5D2
square
#AB4AD2 #D2674A #71D24A #4AB5D2
split-complementary
#AB4AD2 #B5D24A #4AD267
monochromatic
#662081 #8C2CB2 #AB4AD2 #C27BDE #D8ACEA

Accessibility & contrast

On white

4.52
#AB4AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AB4AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4AD2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4AD2#FFFFFF#000000##000000
##AB4AD21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0771D6
Deuteranopia (green-blind)
#4679CF
Tritanopia (blue-blind)
#A86488
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4ad2;
/* rgb */ color: rgb(171, 74, 210);
/* oklch */ color: oklch(59.3% 0.210 314.8);
Tailwind
colors: {
  custom: {
    50: '#c883e0',
    500: '#ab4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ad2;
$custom-light: #c883e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ad2",
  "rgb": {
    "r": 171,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 282.794,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.21048,
    "h": 314.8
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#AB4AD2
secondary
#B0D8A0
accent
#E34472
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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