#AB3CC5#AB3CC5

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

Color values

HEX#AB3CC5
RGBrgb(171, 60, 197)
HSLhsl(289, 54%, 50%)
HSVhsv(289, 70%, 77%)
CMYKcmyk(13.2%, 69.5%, 0%, 22.7%)
CIE-LABlab(46.87, 63.61, -50.28)
CIE-LCHlch(46.87, 81.09, 321.67°)
OKLaboklab(56.98% 0.1641 -0.1409)
OKLCHoklch(56.98% 0.216 319.4)
XYZxyz(28.4872, 15.9222, 54.3853)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC5 #56C53C
analogous
#663CC5 #AB3CC5 #C53C9A
triadic
#AB3CC5 #C5AB3C #3CC5AB
tetradic
#AB3CC5 #C5663C #56C53C #3C9AC5
square
#AB3CC5 #C5663C #56C53C #3C9AC5
split-complementary
#AB3CC5 #9AC53C #3CC566
monochromatic
#5A1F68 #832D97 #AB3CC5 #BF6BD3 #D49AE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3CC5#FFFFFF#000000##FFFFFF
##AB3CC51.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)
#0068C9
Deuteranopia (green-blind)
#4673C2
Tritanopia (blue-blind)
#AB567C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3cc5;
/* rgb */ color: rgb(171, 60, 197);
/* oklch */ color: oklch(57.0% 0.216 319.4);
Tailwind
colors: {
  custom: {
    50: '#c87bd7',
    500: '#ab3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc5;
$custom-light: #c87bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc5",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 288.613,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.21626,
    "h": 319.4
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#AB3CC5
secondary
#9BCD90
accent
#DE4A66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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