#AB3BC7#AB3BC7

#AB3BC7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.219 H 318.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB3BC7
RGBrgb(171, 59, 199)
HSLhsl(288, 56%, 51%)
HSVhsv(288, 70%, 78%)
CMYKcmyk(14.1%, 70.4%, 0%, 22%)
CIE-LABlab(46.86, 64.37, -51.47)
CIE-LCHlch(46.86, 82.42, 321.36°)
OKLaboklab(57.01% 0.165 -0.1443)
OKLCHoklch(57.01% 0.219 318.8)
XYZxyz(28.6660, 15.9107, 55.5829)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BC7 #57C73B
analogous
#653BC7 #AB3BC7 #C73B9D
triadic
#AB3BC7 #C7AB3B #3BC7AB
tetradic
#AB3BC7 #C7653B #57C73B #3B9DC7
square
#AB3BC7 #C7653B #57C73B #3B9DC7
split-complementary
#AB3BC7 #9DC73B #3BC765
monochromatic
#5A1E69 #832C99 #AB3BC7 #BF6BD5 #D49AE2

Accessibility & contrast

On white

5.02
#AB3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BC7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BC7#FFFFFF#000000##FFFFFF
##AB3BC71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#AB567D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3bc7;
/* rgb */ color: rgb(171, 59, 199);
/* oklch */ color: oklch(57.0% 0.219 318.8);
Tailwind
colors: {
  custom: {
    50: '#c87bd9',
    500: '#ab3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bc7;
$custom-light: #c87bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bc7",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 288,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.2192,
    "h": 318.8
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#AB3BC7
secondary
#9CCE90
accent
#DF4967
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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