#AB59CA#AB59CA

#AB59CA is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.7% C 0.181 H 315.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB59CA
RGBrgb(171, 89, 202)
HSLhsl(284, 52%, 57%)
HSVhsv(284, 56%, 79%)
CMYKcmyk(15.3%, 55.9%, 0%, 20.8%)
CIE-LABlab(51.91, 51.54, -45.13)
CIE-LCHlch(51.91, 68.50, 318.79°)
OKLaboklab(60.72% 0.1298 -0.126)
OKLCHoklch(60.72% 0.181 315.8)
XYZxyz(31.0260, 20.0680, 58.1048)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59CA #78CA59
analogous
#7359CA #AB59CA #CA59B0
triadic
#AB59CA #CAAB59 #59CAAB
tetradic
#AB59CA #CA7359 #78CA59 #59B0CA
square
#AB59CA #CA7359 #78CA59 #59B0CA
split-complementary
#AB59CA #B0CA59 #59CA73
monochromatic
#682980 #8E38AE #AB59CA #C287D9 #DAB6E8

Accessibility & contrast

On white

4.19
#AB59CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AB59CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59CA#FFFFFF#000000##000000
##AB59CA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CE
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#A96B89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab59ca;
/* rgb */ color: rgb(171, 89, 202);
/* oklch */ color: oklch(60.7% 0.181 315.8);
Tailwind
colors: {
  custom: {
    50: '#c78bda',
    500: '#ab59ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab59ca;
$custom-light: #c78bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59ca",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 283.54,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.18091,
    "h": 315.8
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#AB59CA
secondary
#B5D6A8
accent
#DB4D74
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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