#AB59EF#AB59EF

#AB59EF is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.220 H 306.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB59EF
RGBrgb(171, 89, 239)
HSLhsl(273, 82%, 64%)
HSVhsv(273, 63%, 94%)
CMYKcmyk(28.5%, 62.8%, 0%, 6.3%)
CIE-LABlab(54.06, 59.57, -62.63)
CIE-LCHlch(54.06, 86.44, 313.57°)
OKLaboklab(62.98% 0.1298 -0.1772)
OKLCHoklch(62.98% 0.22 306.2)
XYZxyz(35.9436, 22.0350, 84.0043)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59EF #9DEF59
analogous
#6059EF #AB59EF #EF59E8
triadic
#AB59EF #EFAB59 #59EFAB
tetradic
#AB59EF #EF6059 #9DEF59 #59E8EF
square
#AB59EF #EF6059 #9DEF59 #59E8EF
split-complementary
#AB59EF #E8EF59 #59EF60
monochromatic
#6F12BC #8F21EA #AB59EF #C791F4 #E3C9FA

Accessibility & contrast

On white

3.88
#AB59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AB59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59EF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59EF#FFFFFF#000000##000000
##AB59EF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#3782EC
Tritanopia (blue-blind)
#A0789C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab59ef;
/* rgb */ color: rgb(171, 89, 239);
/* oklch */ color: oklch(63.0% 0.220 306.2);
Tailwind
colors: {
  custom: {
    50: '#c88cf5',
    500: '#ab59ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab59ef;
$custom-light: #c88cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59ef",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 272.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62981,
    "c": 0.21969,
    "h": 306.2
  },
  "luminance": 0.22035
}

Semantic roles & 50–950 ramp

primary
#AB59EF
secondary
#CFECB8
accent
#DF0769
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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