#AB3BC4#AB3BC4

#AB3BC4 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.217 H 319.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB3BC4
RGBrgb(171, 59, 196)
HSLhsl(289, 54%, 50%)
HSVhsv(289, 70%, 77%)
CMYKcmyk(12.8%, 69.9%, 0%, 23.1%)
CIE-LABlab(46.67, 63.81, -50.02)
CIE-LCHlch(46.67, 81.08, 321.91°)
OKLaboklab(56.82% 0.1652 -0.1401)
OKLCHoklch(56.82% 0.217 319.7)
XYZxyz(28.3211, 15.7728, 53.7665)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BC4 #54C43B
analogous
#673BC4 #AB3BC4 #C43B98
triadic
#AB3BC4 #C4AB3B #3BC4AB
tetradic
#AB3BC4 #C4673B #54C43B #3B98C4
square
#AB3BC4 #C4673B #54C43B #3B98C4
split-complementary
#AB3BC4 #98C43B #3BC467
monochromatic
#591F66 #822D95 #AB3BC4 #BF6AD2 #D399E0

Accessibility & contrast

On white

5.06
#AB3BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB3BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BC4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BC4#FFFFFF#000000##FFFFFF
##AB3BC41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#AB557C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3bc4;
/* rgb */ color: rgb(171, 59, 196);
/* oklch */ color: oklch(56.8% 0.217 319.7);
Tailwind
colors: {
  custom: {
    50: '#c87bd6',
    500: '#ab3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bc4;
$custom-light: #c87bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bc4",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 289.051,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.21658,
    "h": 319.7
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#AB3BC4
secondary
#9ACC8F
accent
#DD4B65
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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