#AB59E7#AB59E7

#AB59E7 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.211 H 308.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB59E7
RGBrgb(171, 89, 231)
HSLhsl(275, 75%, 63%)
HSVhsv(275, 61%, 91%)
CMYKcmyk(26%, 61.5%, 0%, 9.4%)
CIE-LABlab(53.57, 57.78, -58.94)
CIE-LCHlch(53.57, 82.54, 314.43°)
OKLaboklab(62.47% 0.1302 -0.1664)
OKLCHoklch(62.47% 0.211 308)
XYZxyz(34.7878, 21.5727, 77.9171)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59E7 #95E759
analogous
#6459E7 #AB59E7 #E759DC
triadic
#AB59E7 #E7AB59 #59E7AB
tetradic
#AB59E7 #E76459 #95E759 #59DCE7
square
#AB59E7 #E76459 #95E759 #59DCE7
split-complementary
#AB59E7 #DCE759 #59E764
monochromatic
#6E19AD #9024DF #AB59E7 #C68EEF #E1C4F6

Accessibility & contrast

On white

3.95
#AB59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AB59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59E7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59E7#FFFFFF#000000##000000
##AB59E71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7DEB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#A27598
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab59e7;
/* rgb */ color: rgb(171, 89, 231);
/* oklch */ color: oklch(62.5% 0.211 308.0);
Tailwind
colors: {
  custom: {
    50: '#c88cef',
    500: '#ab59e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab59e7;
$custom-light: #c88cef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59e7",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 274.648,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62466,
    "c": 0.21127,
    "h": 308
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#AB59E7
secondary
#CAE8B4
accent
#D70F63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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