#AB59CC#AB59CC

#AB59CC is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.8% C 0.183 H 315.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB59CC
RGBrgb(171, 89, 204)
HSLhsl(283, 53%, 57%)
HSVhsv(283, 56%, 80%)
CMYKcmyk(16.2%, 56.4%, 0%, 20%)
CIE-LABlab(52.02, 51.95, -46.11)
CIE-LCHlch(52.02, 69.46, 318.41°)
OKLaboklab(60.84% 0.1299 -0.1289)
OKLCHoklch(60.84% 0.183 315.2)
XYZxyz(31.2643, 20.1633, 59.3600)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59CC #7ACC59
analogous
#7259CC #AB59CC #CC59B3
triadic
#AB59CC #CCAB59 #59CCAB
tetradic
#AB59CC #CC7259 #7ACC59 #59B3CC
square
#AB59CC #CC7259 #7ACC59 #59B3CC
split-complementary
#AB59CC #B3CC59 #59CC72
monochromatic
#692883 #8E36B1 #AB59CC #C388DA #DAB7E9

Accessibility & contrast

On white

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

On black

5.03
#AB59CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59CC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59CC#FFFFFF#000000##000000
##AB59CC1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#A96C8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab59cc;
/* rgb */ color: rgb(171, 89, 204);
/* oklch */ color: oklch(60.8% 0.183 315.2);
Tailwind
colors: {
  custom: {
    50: '#c78bdc',
    500: '#ab59cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab59cc;
$custom-light: #c78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59cc",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 282.783,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.18298,
    "h": 315.2
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#AB59CC
secondary
#B7D8A9
accent
#DC4B75
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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