#AB59BB#AB59BB

#AB59BB is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.166 H 320.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB59BB
RGBrgb(171, 89, 187)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 52%, 73%)
CMYKcmyk(8.6%, 52.4%, 0%, 26.7%)
CIE-LABlab(51.14, 48.49, -37.71)
CIE-LCHlch(51.14, 61.43, 322.13°)
OKLaboklab(59.91% 0.1285 -0.1045)
OKLCHoklch(59.91% 0.166 320.9)
XYZxyz(29.3356, 19.3918, 49.2018)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59BB #69BB59
analogous
#7A59BB #AB59BB #BB599A
triadic
#AB59BB #BBAB59 #59BBAB
tetradic
#AB59BB #BB7A59 #69BB59 #599ABB
square
#AB59BB #BB7A59 #69BB59 #599ABB
split-complementary
#AB59BB #9ABB59 #59BB7A
monochromatic
#622D6D #8A3E98 #AB59BB #C184CD #D7B0DF

Accessibility & contrast

On white

4.30
#AB59BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AB59BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59BB#FFFFFF#000000##000000
##AB59BB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#AC6782
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab59bb;
/* rgb */ color: rgb(171, 89, 187);
/* oklch */ color: oklch(59.9% 0.166 320.9);
Tailwind
colors: {
  custom: {
    50: '#c68bd0',
    500: '#ab59bb',
    950: '#000000',
  },
}
SCSS
$custom: #ab59bb;
$custom-light: #c68bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59bb",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 290.204,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.1656,
    "h": 320.9
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#AB59BB
secondary
#AACDA3
accent
#D2566A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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