#AB3CC7#AB3CC7

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

Color values

HEX#AB3CC7
RGBrgb(171, 60, 199)
HSLhsl(288, 55%, 51%)
HSVhsv(288, 70%, 78%)
CMYKcmyk(14.1%, 69.8%, 0%, 22%)
CIE-LABlab(46.99, 63.99, -51.25)
CIE-LCHlch(46.99, 81.98, 321.31°)
OKLaboklab(57.11% 0.164 -0.1437)
OKLCHoklch(57.11% 0.218 318.8)
XYZxyz(28.7179, 16.0145, 55.6002)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC7 #58C73C
analogous
#663CC7 #AB3CC7 #C73C9D
triadic
#AB3CC7 #C7AB3C #3CC7AB
tetradic
#AB3CC7 #C7663C #58C73C #3C9DC7
square
#AB3CC7 #C7663C #58C73C #3C9DC7
split-complementary
#AB3CC7 #9DC73C #3CC766
monochromatic
#5B1E6A #842C9A #AB3CC7 #BF6CD5 #D49BE2

Accessibility & contrast

On white

5.00
#AB3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AB3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CC7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CC7#FFFFFF#000000##FFFFFF
##AB3CC71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3cc7;
/* rgb */ color: rgb(171, 60, 199);
/* oklch */ color: oklch(57.1% 0.218 318.8);
Tailwind
colors: {
  custom: {
    50: '#c87bd9',
    500: '#ab3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc7;
$custom-light: #c87bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc7",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 287.914,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57107,
    "c": 0.21802,
    "h": 318.8
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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