#AB59EE#AB59EE

#AB59EE is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.219 H 306.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB59EE
RGBrgb(171, 89, 238)
HSLhsl(273, 81%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.2%, 62.6%, 0%, 6.7%)
CIE-LABlab(54.00, 59.35, -62.17)
CIE-LCHlch(54.00, 85.95, 313.67°)
OKLaboklab(62.92% 0.1299 -0.1759)
OKLCHoklch(62.92% 0.219 306.4)
XYZxyz(35.7963, 21.9761, 83.2284)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59EE #9CEE59
analogous
#6159EE #AB59EE #EE59E7
triadic
#AB59EE #EEAB59 #59EEAB
tetradic
#AB59EE #EE6159 #9CEE59 #59E7EE
square
#AB59EE #EE6159 #9CEE59 #59E7EE
split-complementary
#AB59EE #E7EE59 #59EE61
monochromatic
#6F13BA #8F21E8 #AB59EE #C791F4 #E3C8F9

Accessibility & contrast

On white

3.89
#AB59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AB59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59EE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59EE#FFFFFF#000000##000000
##AB59EE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#A0789C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab59ee;
/* rgb */ color: rgb(171, 89, 238);
/* oklch */ color: oklch(62.9% 0.219 306.4);
Tailwind
colors: {
  custom: {
    50: '#c88cf4',
    500: '#ab59ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab59ee;
$custom-light: #c88cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59ee",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 273.02,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62916,
    "c": 0.21864,
    "h": 306.4
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#AB59EE
secondary
#CFEBB7
accent
#DE0868
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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