#AB3CD4#AB3CD4

#AB3CD4 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.230 H 315.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB3CD4
RGBrgb(171, 60, 212)
HSLhsl(284, 64%, 53%)
HSVhsv(284, 72%, 83%)
CMYKcmyk(19.3%, 71.7%, 0%, 16.9%)
CIE-LABlab(47.81, 66.50, -57.42)
CIE-LCHlch(47.81, 87.86, 319.19°)
OKLaboklab(57.95% 0.1628 -0.1618)
OKLCHoklch(57.95% 0.23 315.2)
XYZxyz(30.2922, 16.6442, 63.8916)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CD4 #65D43C
analogous
#5F3CD4 #AB3CD4 #D43CB1
triadic
#AB3CD4 #D4AB3C #3CD4AB
tetradic
#AB3CD4 #D45F3C #65D43C #3CB1D4
square
#AB3CD4 #D45F3C #65D43C #3CB1D4
split-complementary
#AB3CD4 #B1D43C #3CD45F
monochromatic
#611B7B #8826AD #AB3CD4 #C16EDF #D6A0EA

Accessibility & contrast

On white

4.85
#AB3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AB3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CD4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CD4#FFFFFF#000000##FFFFFF
##AB3CD41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#3774D1
Tritanopia (blue-blind)
#A85C85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3cd4;
/* rgb */ color: rgb(171, 60, 212);
/* oklch */ color: oklch(57.9% 0.230 315.2);
Tailwind
colors: {
  custom: {
    50: '#c87ce2',
    500: '#ab3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cd4;
$custom-light: #c87ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cd4",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 283.816,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.22955,
    "h": 315.2
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#AB3CD4
secondary
#A7D795
accent
#E7416E
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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