#AB59CD#AB59CD

#AB59CD is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.9% C 0.184 H 314.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AB59CD
RGBrgb(171, 89, 205)
HSLhsl(282, 54%, 58%)
HSVhsv(282, 57%, 80%)
CMYKcmyk(16.6%, 56.6%, 0%, 19.6%)
CIE-LABlab(52.08, 52.16, -46.59)
CIE-LCHlch(52.08, 69.94, 318.23°)
OKLaboklab(60.9% 0.13 -0.1303)
OKLCHoklch(60.9% 0.184 314.9)
XYZxyz(31.3847, 20.2114, 59.9937)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59CD #7BCD59
analogous
#7159CD #AB59CD #CD59B5
triadic
#AB59CD #CDAB59 #59CDAB
tetradic
#AB59CD #CD7159 #7BCD59 #59B5CD
square
#AB59CD #CD7159 #7BCD59 #59B5CD
split-complementary
#AB59CD #B5CD59 #59CD71
monochromatic
#692884 #8E36B3 #AB59CD #C388DB #DBB7E9

Accessibility & contrast

On white

4.17
#AB59CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#AB59CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59CD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59CD#FFFFFF#000000##000000
##AB59CD1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#A96C8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab59cd;
/* rgb */ color: rgb(171, 89, 205);
/* oklch */ color: oklch(60.9% 0.184 314.9);
Tailwind
colors: {
  custom: {
    50: '#c78cdd',
    500: '#ab59cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab59cd;
$custom-light: #c78cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59cd",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 282.414,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.18402,
    "h": 314.9
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#AB59CD
secondary
#B7D8AA
accent
#DD4B76
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB59CD

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

Preview Lab → · Contrast checker → · Palette generator →

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