#AB59DA#AB59DA

#AB59DA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.7% C 0.198 H 311.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB59DA
RGBrgb(171, 89, 218)
HSLhsl(278, 64%, 60%)
HSVhsv(278, 59%, 85%)
CMYKcmyk(21.6%, 59.2%, 0%, 14.5%)
CIE-LABlab(52.80, 54.93, -52.84)
CIE-LCHlch(52.80, 76.22, 316.11°)
OKLaboklab(61.66% 0.1303 -0.1485)
OKLCHoklch(61.66% 0.198 311.3)
XYZxyz(33.0195, 20.8654, 68.6041)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59DA #88DA59
analogous
#6B59DA #AB59DA #DA59C8
triadic
#AB59DA #DAAB59 #59DAAB
tetradic
#AB59DA #DA6B59 #88DA59 #59C8DA
square
#AB59DA #DA6B59 #88DA59 #59C8DA
split-complementary
#AB59DA #C8DA59 #59DA6B
monochromatic
#6C2297 #902DC9 #AB59DA #C48BE5 #DEBDF0

Accessibility & contrast

On white

4.06
#AB59DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB59DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59DA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59DA#FFFFFF#000000##000000
##AB59DA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#4E80D7
Tritanopia (blue-blind)
#A57191
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab59da;
/* rgb */ color: rgb(171, 89, 218);
/* oklch */ color: oklch(61.7% 0.198 311.3);
Tailwind
colors: {
  custom: {
    50: '#c78ce6',
    500: '#ab59da',
    950: '#000000',
  },
}
SCSS
$custom: #ab59da;
$custom-light: #c78ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59da",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 278.14,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.1976,
    "h": 311.3
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#AB59DA
secondary
#C1E0AF
accent
#CB1A5B
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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