#AB59CE#AB59CE

#AB59CE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.0% C 0.185 H 314.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB59CE
RGBrgb(171, 89, 206)
HSLhsl(282, 54%, 58%)
HSVhsv(282, 57%, 81%)
CMYKcmyk(17%, 56.8%, 0%, 19.2%)
CIE-LABlab(52.13, 52.37, -47.08)
CIE-LCHlch(52.13, 70.42, 318.05°)
OKLaboklab(60.95% 0.13 -0.1317)
OKLCHoklch(60.95% 0.185 314.6)
XYZxyz(31.5057, 20.2599, 60.6315)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59CE #7CCE59
analogous
#7059CE #AB59CE #CE59B7
triadic
#AB59CE #CEAB59 #59CEAB
tetradic
#AB59CE #CE7059 #7CCE59 #59B7CE
square
#AB59CE #CE7059 #7CCE59 #59B7CE
split-complementary
#AB59CE #B7CE59 #59CE70
monochromatic
#692785 #8E35B5 #AB59CE #C388DC #DBB8EA

Accessibility & contrast

On white

4.16
#AB59CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AB59CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59CE#FFFFFF#000000##000000
##AB59CE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3978D2
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#A86D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab59ce;
/* rgb */ color: rgb(171, 89, 206);
/* oklch */ color: oklch(61.0% 0.185 314.6);
Tailwind
colors: {
  custom: {
    50: '#c78cdd',
    500: '#ab59ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab59ce;
$custom-light: #c78cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59ce",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 282.051,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60953,
    "c": 0.18506,
    "h": 314.6
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#AB59CE
secondary
#B8D9AA
accent
#DE4A76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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