#AB3DC7#AB3DC7

#AB3DC7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.217 H 318.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB3DC7
RGBrgb(171, 61, 199)
HSLhsl(288, 55%, 51%)
HSVhsv(288, 69%, 78%)
CMYKcmyk(14.1%, 69.3%, 0%, 22%)
CIE-LABlab(47.13, 63.60, -51.03)
CIE-LCHlch(47.13, 81.54, 321.26°)
OKLaboklab(57.21% 0.1629 -0.1431)
OKLCHoklch(57.21% 0.217 318.7)
XYZxyz(28.7707, 16.1203, 55.6178)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC7 #59C73D
analogous
#663DC7 #AB3DC7 #C73D9E
triadic
#AB3DC7 #C7AB3D #3DC7AB
tetradic
#AB3DC7 #C7663D #59C73D #3D9EC7
square
#AB3DC7 #C7663D #59C73D #3D9EC7
split-complementary
#AB3DC7 #9EC73D #3DC766
monochromatic
#5B1F6B #842D9A #AB3DC7 #C06CD5 #D49CE2

Accessibility & contrast

On white

4.97
#AB3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DC7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DC7#FFFFFF#000000##FFFFFF
##AB3DC71.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#AB577E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dc7;
/* rgb */ color: rgb(171, 61, 199);
/* oklch */ color: oklch(57.2% 0.217 318.7);
Tailwind
colors: {
  custom: {
    50: '#c87cd9',
    500: '#ab3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc7;
$custom-light: #c87cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc7",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 287.826,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.21683,
    "h": 318.7
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#AB3DC7
secondary
#9ECE91
accent
#DF4968
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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