#AB59EC#AB59EC

#AB59EC is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.8% C 0.217 H 306.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB59EC
RGBrgb(171, 89, 236)
HSLhsl(273, 79%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.5%, 62.3%, 0%, 7.5%)
CIE-LABlab(53.88, 58.90, -61.25)
CIE-LCHlch(53.88, 84.98, 313.88°)
OKLaboklab(62.79% 0.13 -0.1732)
OKLCHoklch(62.79% 0.217 306.9)
XYZxyz(35.5041, 21.8592, 81.6895)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59EC #9AEC59
analogous
#6159EC #AB59EC #EC59E4
triadic
#AB59EC #ECAB59 #59ECAB
tetradic
#AB59EC #EC6159 #9AEC59 #59E4EC
square
#AB59EC #EC6159 #9AEC59 #59E4EC
split-complementary
#AB59EC #E4EC59 #59EC61
monochromatic
#6F15B6 #8F22E6 #AB59EC #C790F2 #E3C7F9

Accessibility & contrast

On white

3.91
#AB59EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB59EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59EC#FFFFFF#000000##000000
##AB59EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#A0779B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab59ec;
/* rgb */ color: rgb(171, 89, 236);
/* oklch */ color: oklch(62.8% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#c88cf3',
    500: '#ab59ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab59ec;
$custom-light: #c88cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59ec",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 273.469,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62786,
    "c": 0.21654,
    "h": 306.9
  },
  "luminance": 0.21859
}

Semantic roles & 50–950 ramp

primary
#AB59EC
secondary
#CDEAB6
accent
#DC0A67
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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