#AB4DD3#AB4DD3

#AB4DD3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.7% C 0.207 H 314.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AB4DD3
RGBrgb(171, 77, 211)
HSLhsl(282, 60%, 56%)
HSVhsv(282, 64%, 83%)
CMYKcmyk(19%, 63.5%, 0%, 17.3%)
CIE-LABlab(50.30, 59.16, -52.85)
CIE-LCHlch(50.30, 79.33, 318.22°)
OKLaboklab(59.71% 0.1448 -0.1485)
OKLCHoklch(59.71% 0.207 314.3)
XYZxyz(31.2044, 18.6698, 63.5753)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DD3 #75D34D
analogous
#684DD3 #AB4DD3 #D34DB8
triadic
#AB4DD3 #D3AB4D #4DD3AB
tetradic
#AB4DD3 #D3684D #75D34D #4DB8D3
square
#AB4DD3 #D3684D #75D34D #4DB8D3
split-complementary
#AB4DD3 #B8D34D #4DD368
monochromatic
#672185 #8D2DB6 #AB4DD3 #C27EDF #D9AFEB

Accessibility & contrast

On white

4.44
#AB4DD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AB4DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DD3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DD3#FFFFFF#000000##000000
##AB4DD31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1372D7
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#A86689
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab4dd3;
/* rgb */ color: rgb(171, 77, 211);
/* oklch */ color: oklch(59.7% 0.207 314.3);
Tailwind
colors: {
  custom: {
    50: '#c785e1',
    500: '#ab4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dd3;
$custom-light: #c785e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dd3",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 282.09,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.20741,
    "h": 314.3
  },
  "luminance": 0.18669
}

Semantic roles & 50–950 ramp

primary
#AB4DD3
secondary
#B3D9A2
accent
#E44474
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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