#AB3BC8#AB3BC8

#AB3BC8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.220 H 318.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB3BC8
RGBrgb(171, 59, 200)
HSLhsl(288, 56%, 51%)
HSVhsv(288, 71%, 78%)
CMYKcmyk(14.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(46.92, 64.56, -51.95)
CIE-LCHlch(46.92, 82.87, 321.18°)
OKLaboklab(57.07% 0.1649 -0.1457)
OKLCHoklch(57.07% 0.22 318.5)
XYZxyz(28.7825, 15.9573, 56.1963)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3BC8 #58C83B
analogous
#653BC8 #AB3BC8 #C83B9E
triadic
#AB3BC8 #C8AB3B #3BC8AB
tetradic
#AB3BC8 #C8653B #58C83B #3B9EC8
square
#AB3BC8 #C8653B #58C83B #3B9EC8
split-complementary
#AB3BC8 #9EC83B #3BC865
monochromatic
#5B1E6B #842B9A #AB3BC8 #BF6BD5 #D49BE3

Accessibility & contrast

On white

5.01
#AB3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AB3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3BC8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3BC8#FFFFFF#000000##FFFFFF
##AB3BC81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#AB567E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3bc8;
/* rgb */ color: rgb(171, 59, 200);
/* oklch */ color: oklch(57.1% 0.220 318.5);
Tailwind
colors: {
  custom: {
    50: '#c87bd9',
    500: '#ab3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3bc8;
$custom-light: #c87bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3bc8",
  "rgb": {
    "r": 171,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 287.66,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.22008,
    "h": 318.5
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

primary
#AB3BC8
secondary
#9DCF90
accent
#DF4867
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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