#AB59AF#AB59AF

#AB59AF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.3% C 0.154 H 325.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB59AF
RGBrgb(171, 89, 175)
HSLhsl(297, 35%, 52%)
HSVhsv(297, 49%, 69%)
CMYKcmyk(2.3%, 49.1%, 0%, 31.4%)
CIE-LABlab(50.57, 46.17, -31.64)
CIE-LCHlch(50.57, 55.97, 325.58°)
OKLaboklab(59.3% 0.1268 -0.087)
OKLCHoklch(59.3% 0.154 325.6)
XYZxyz(28.1042, 18.8992, 42.7167)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59AF #5DAF59
analogous
#8059AF #AB59AF #AF5988
triadic
#AB59AF #AFAB59 #59AFAB
tetradic
#AB59AF #AF8059 #5DAF59 #5988AF
square
#AB59AF #AF8059 #5DAF59 #5988AF
split-complementary
#AB59AF #88AF59 #59AF80
monochromatic
#5D2E60 #864289 #AB59AF #C082C3 #D5ACD7

Accessibility & contrast

On white

4.39
#AB59AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB59AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59AF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59AF#FFFFFF#000000##000000
##AB59AF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#AF637C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab59af;
/* rgb */ color: rgb(171, 89, 175);
/* oklch */ color: oklch(59.3% 0.154 325.6);
Tailwind
colors: {
  custom: {
    50: '#c68bc7',
    500: '#ab59af',
    950: '#000000',
  },
}
SCSS
$custom: #ab59af;
$custom-light: #c68bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59af",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 297.209,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.15378,
    "h": 325.6
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#AB59AF
secondary
#A1C59F
accent
#CB5D62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB59AF

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

Preview Lab → · Contrast checker → · Palette generator →

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