#AB3CC6#AB3CC6

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

Color values

HEX#AB3CC6
RGBrgb(171, 60, 198)
HSLhsl(288, 55%, 51%)
HSVhsv(288, 70%, 78%)
CMYKcmyk(13.6%, 69.7%, 0%, 22.4%)
CIE-LABlab(46.93, 63.80, -50.77)
CIE-LCHlch(46.93, 81.53, 321.49°)
OKLaboklab(57.04% 0.164 -0.1423)
OKLCHoklch(57.04% 0.217 319.1)
XYZxyz(28.6021, 15.9682, 54.9907)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC6 #57C63C
analogous
#663CC6 #AB3CC6 #C63C9C
triadic
#AB3CC6 #C6AB3C #3CC6AB
tetradic
#AB3CC6 #C6663C #57C63C #3C9CC6
square
#AB3CC6 #C6663C #57C63C #3C9CC6
split-complementary
#AB3CC6 #9CC63C #3CC666
monochromatic
#5A1F69 #832D98 #AB3CC6 #BF6BD4 #D49BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3CC6#FFFFFF#000000##FFFFFF
##AB3CC61.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)
#0068CA
Deuteranopia (green-blind)
#4573C3
Tritanopia (blue-blind)
#AB567D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3cc6;
/* rgb */ color: rgb(171, 60, 198);
/* oklch */ color: oklch(57.0% 0.217 319.1);
Tailwind
colors: {
  custom: {
    50: '#c87bd8',
    500: '#ab3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc6;
$custom-light: #c87bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc6",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 288.261,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.21715,
    "h": 319.1
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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