#AB4CD3#AB4CD3

#AB4CD3 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.209 H 314.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AB4CD3
RGBrgb(171, 76, 211)
HSLhsl(282, 61%, 56%)
HSVhsv(282, 64%, 83%)
CMYKcmyk(19%, 64%, 0%, 17.3%)
CIE-LABlab(50.13, 59.61, -53.12)
CIE-LCHlch(50.13, 79.84, 318.30°)
OKLaboklab(59.59% 0.146 -0.1493)
OKLCHoklch(59.59% 0.209 314.4)
XYZxyz(31.1350, 18.5310, 63.5521)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CD3 #74D34C
analogous
#684CD3 #AB4CD3 #D34CB8
triadic
#AB4CD3 #D3AB4C #4CD3AB
tetradic
#AB4CD3 #D3684C #74D34C #4CB8D3
square
#AB4CD3 #D3684C #74D34C #4CB8D3
split-complementary
#AB4CD3 #B8D34C #4CD368
monochromatic
#672084 #8D2DB5 #AB4CD3 #C27DDF #D9AEEB

Accessibility & contrast

On white

4.46
#AB4CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AB4CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CD3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CD3#FFFFFF#000000##000000
##AB4CD31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F72D7
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#A86589
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4cd3;
/* rgb */ color: rgb(171, 76, 211);
/* oklch */ color: oklch(59.6% 0.209 314.4);
Tailwind
colors: {
  custom: {
    50: '#c884e1',
    500: '#ab4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cd3;
$custom-light: #c884e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cd3",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 282.222,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.20877,
    "h": 314.4
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#AB4CD3
secondary
#B2D9A2
accent
#E44473
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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