#AB3CD1#AB3CD1

#AB3CD1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.227 H 316.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3CD1
RGBrgb(171, 60, 209)
HSLhsl(285, 62%, 53%)
HSVhsv(285, 71%, 82%)
CMYKcmyk(18.2%, 71.3%, 0%, 18%)
CIE-LABlab(47.62, 65.91, -56.01)
CIE-LCHlch(47.62, 86.50, 319.64°)
OKLaboklab(57.75% 0.1632 -0.1577)
OKLCHoklch(57.75% 0.227 316)
XYZxyz(29.9173, 16.4943, 61.9170)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CD1 #62D13C
analogous
#603CD1 #AB3CD1 #D13CAC
triadic
#AB3CD1 #D1AB3C #3CD1AB
tetradic
#AB3CD1 #D1603C #62D13C #3CACD1
square
#AB3CD1 #D1603C #62D13C #3CACD1
split-complementary
#AB3CD1 #ACD13C #3CD160
monochromatic
#601C77 #8728A8 #AB3CD1 #C06EDD #D69FE8

Accessibility & contrast

On white

4.89
#AB3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CD1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CD1#FFFFFF#000000##FFFFFF
##AB3CD11.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#3B74CE
Tritanopia (blue-blind)
#A85B83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3cd1;
/* rgb */ color: rgb(171, 60, 209);
/* oklch */ color: oklch(57.8% 0.227 316.0);
Tailwind
colors: {
  custom: {
    50: '#c87ce0',
    500: '#ab3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cd1;
$custom-light: #c87ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cd1",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 284.698,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.22688,
    "h": 316
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#AB3CD1
secondary
#A5D594
accent
#E5436C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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