#AB59C8#AB59C8

#AB59C8 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.6% C 0.179 H 316.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB59C8
RGBrgb(171, 89, 200)
HSLhsl(284, 50%, 57%)
HSVhsv(284, 56%, 78%)
CMYKcmyk(14.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(51.81, 51.12, -44.15)
CIE-LCHlch(51.81, 67.55, 319.18°)
OKLaboklab(60.61% 0.1297 -0.1232)
OKLCHoklch(60.61% 0.179 316.5)
XYZxyz(30.7907, 19.9739, 56.8658)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59C8 #76C859
analogous
#7459C8 #AB59C8 #C859AE
triadic
#AB59C8 #C8AB59 #59C8AB
tetradic
#AB59C8 #C87459 #76C859 #59AEC8
square
#AB59C8 #C87459 #76C859 #59AEC8
split-complementary
#AB59C8 #AEC859 #59C874
monochromatic
#67297D #8D39AB #AB59C8 #C287D7 #DAB5E6

Accessibility & contrast

On white

4.20
#AB59C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AB59C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59C8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59C8#FFFFFF#000000##000000
##AB59C81.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#AA6B88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab59c8;
/* rgb */ color: rgb(171, 89, 200);
/* oklch */ color: oklch(60.6% 0.179 316.5);
Tailwind
colors: {
  custom: {
    50: '#c68bd9',
    500: '#ab59c8',
    950: '#000000',
  },
}
SCSS
$custom: #ab59c8;
$custom-light: #c68bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59c8",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 284.324,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.17884,
    "h": 316.5
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#AB59C8
secondary
#B4D5A8
accent
#DA4E73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB59C8

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

Preview Lab → · Contrast checker → · Palette generator →

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