#AB3DC4#AB3DC4

#AB3DC4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.214 H 319.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AB3DC4
RGBrgb(171, 61, 196)
HSLhsl(289, 53%, 50%)
HSVhsv(289, 69%, 77%)
CMYKcmyk(12.8%, 68.9%, 0%, 23.1%)
CIE-LABlab(46.95, 63.03, -49.58)
CIE-LCHlch(46.95, 80.19, 321.81°)
OKLaboklab(57.02% 0.1631 -0.1388)
OKLCHoklch(57.02% 0.214 319.6)
XYZxyz(28.4259, 15.9823, 53.8014)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC4 #56C43D
analogous
#673DC4 #AB3DC4 #C43D99
triadic
#AB3DC4 #C4AB3D #3DC4AB
tetradic
#AB3DC4 #C4673D #56C43D #3D99C4
square
#AB3DC4 #C4673D #56C43D #3D99C4
split-complementary
#AB3DC4 #99C43D #3DC467
monochromatic
#5A1F67 #832E96 #AB3DC4 #BF6CD2 #D49BE1

Accessibility & contrast

On white

5.00
#AB3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB3DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DC4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DC4#FFFFFF#000000##FFFFFF
##AB3DC41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#4873C1
Tritanopia (blue-blind)
#AB567C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3dc4;
/* rgb */ color: rgb(171, 61, 196);
/* oklch */ color: oklch(57.0% 0.214 319.6);
Tailwind
colors: {
  custom: {
    50: '#c87cd6',
    500: '#ab3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc4;
$custom-light: #c87cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc4",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 288.889,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.21418,
    "h": 319.6
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#AB3DC4
secondary
#9BCD90
accent
#DD4B66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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