#AB59CF#AB59CF

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

Color values

HEX#AB59CF
RGBrgb(171, 89, 207)
HSLhsl(282, 55%, 58%)
HSVhsv(282, 57%, 81%)
CMYKcmyk(17.4%, 57%, 0%, 18.8%)
CIE-LABlab(52.18, 52.58, -47.56)
CIE-LCHlch(52.18, 70.90, 317.87°)
OKLaboklab(61.01% 0.1301 -0.1331)
OKLCHoklch(61.01% 0.186 314.3)
XYZxyz(31.6276, 20.3086, 61.2733)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59CF #7DCF59
analogous
#7059CF #AB59CF #CF59B8
triadic
#AB59CF #CFAB59 #59CFAB
tetradic
#AB59CF #CF7059 #7DCF59 #59B8CF
square
#AB59CF #CF7059 #7DCF59 #59B8CF
split-complementary
#AB59CF #B8CF59 #59CF70
monochromatic
#692787 #8F35B6 #AB59CF #C388DD #DBB8EA

Accessibility & contrast

On white

4.15
#AB59CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#AB59CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59CF#FFFFFF#000000##000000
##AB59CF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#A86D8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab59cf;
/* rgb */ color: rgb(171, 89, 207);
/* oklch */ color: oklch(61.0% 0.186 314.3);
Tailwind
colors: {
  custom: {
    50: '#c78cde',
    500: '#ab59cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab59cf;
$custom-light: #c78cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59cf",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 281.695,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61011,
    "c": 0.18609,
    "h": 314.3
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#AB59CF
secondary
#B9D9AA
accent
#DE4977
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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