#AB59ED#AB59ED

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

Color values

HEX#AB59ED
RGBrgb(171, 89, 237)
HSLhsl(273, 80%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.8%, 62.4%, 0%, 7.1%)
CIE-LABlab(53.94, 59.12, -61.71)
CIE-LCHlch(53.94, 85.47, 313.77°)
OKLaboklab(62.85% 0.1299 -0.1745)
OKLCHoklch(62.85% 0.218 306.7)
XYZxyz(35.6498, 21.9175, 82.4568)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59ED #9BED59
analogous
#6159ED #AB59ED #ED59E5
triadic
#AB59ED #EDAB59 #59EDAB
tetradic
#AB59ED #ED6159 #9BED59 #59E5ED
square
#AB59ED #ED6159 #9BED59 #59E5ED
split-complementary
#AB59ED #E5ED59 #59ED61
monochromatic
#6F14B8 #8F22E7 #AB59ED #C790F3 #E3C7F9

Accessibility & contrast

On white

3.90
#AB59ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#AB59ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59ED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59ED#FFFFFF#000000##000000
##AB59ED1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab59ed;
/* rgb */ color: rgb(171, 89, 237);
/* oklch */ color: oklch(62.9% 0.218 306.7);
Tailwind
colors: {
  custom: {
    50: '#c88cf4',
    500: '#ab59ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab59ed;
$custom-light: #c88cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59ed",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 273.243,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.21759,
    "h": 306.7
  },
  "luminance": 0.21917
}

Semantic roles & 50–950 ramp

primary
#AB59ED
secondary
#CEEBB7
accent
#DD0967
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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