#AB3DC6#AB3DC6

#AB3DC6 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.216 H 319.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB3DC6
RGBrgb(171, 61, 198)
HSLhsl(288, 55%, 51%)
HSVhsv(288, 69%, 78%)
CMYKcmyk(13.6%, 69.2%, 0%, 22.4%)
CIE-LABlab(47.07, 63.41, -50.55)
CIE-LCHlch(47.07, 81.09, 321.44°)
OKLaboklab(57.14% 0.163 -0.1416)
OKLCHoklch(57.14% 0.216 319)
XYZxyz(28.6550, 16.0740, 55.0083)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC6 #58C63D
analogous
#663DC6 #AB3DC6 #C63D9C
triadic
#AB3DC6 #C6AB3D #3DC6AB
tetradic
#AB3DC6 #C6663D #58C63D #3D9CC6
square
#AB3DC6 #C6663D #58C63D #3D9CC6
split-complementary
#AB3DC6 #9CC63D #3DC666
monochromatic
#5B1F6A #842D99 #AB3DC6 #BF6CD4 #D49CE2

Accessibility & contrast

On white

4.98
#AB3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DC6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DC6#FFFFFF#000000##FFFFFF
##AB3DC61.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#4673C3
Tritanopia (blue-blind)
#AB577D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dc6;
/* rgb */ color: rgb(171, 61, 198);
/* oklch */ color: oklch(57.1% 0.216 319.0);
Tailwind
colors: {
  custom: {
    50: '#c87cd8',
    500: '#ab3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc6;
$custom-light: #c87cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc6",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 288.175,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.21595,
    "h": 319
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#AB3DC6
secondary
#9DCE91
accent
#DE4A67
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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