#AB59EB#AB59EB

#AB59EB is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.215 H 307.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB59EB
RGBrgb(171, 89, 235)
HSLhsl(274, 78%, 64%)
HSVhsv(274, 62%, 92%)
CMYKcmyk(27.2%, 62.1%, 0%, 7.8%)
CIE-LABlab(53.82, 58.68, -60.79)
CIE-LCHlch(53.82, 84.49, 313.98°)
OKLaboklab(62.72% 0.13 -0.1718)
OKLCHoklch(62.72% 0.215 307.1)
XYZxyz(35.3592, 21.8013, 80.9265)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59EB #99EB59
analogous
#6259EB #AB59EB #EB59E2
triadic
#AB59EB #EBAB59 #59EBAB
tetradic
#AB59EB #EB6259 #99EB59 #59E2EB
square
#AB59EB #EB6259 #99EB59 #59E2EB
split-complementary
#AB59EB #E2EB59 #59EB62
monochromatic
#6F16B4 #8F22E4 #AB59EB #C790F2 #E2C6F8

Accessibility & contrast

On white

3.92
#AB59EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AB59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59EB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59EB#FFFFFF#000000##000000
##AB59EB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#A1779A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab59eb;
/* rgb */ color: rgb(171, 89, 235);
/* oklch */ color: oklch(62.7% 0.215 307.1);
Tailwind
colors: {
  custom: {
    50: '#c88cf2',
    500: '#ab59eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab59eb;
$custom-light: #c88cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59eb",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 273.699,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62722,
    "c": 0.21548,
    "h": 307.1
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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