#AB59E4#AB59E4

#AB59E4 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.3% C 0.208 H 308.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB59E4
RGBrgb(171, 89, 228)
HSLhsl(275, 72%, 62%)
HSVhsv(275, 61%, 89%)
CMYKcmyk(25%, 61%, 0%, 10.6%)
CIE-LABlab(53.39, 57.12, -57.54)
CIE-LCHlch(53.39, 81.08, 314.79°)
OKLaboklab(62.28% 0.1303 -0.1623)
OKLCHoklch(62.28% 0.208 308.7)
XYZxyz(34.3678, 21.4047, 75.7048)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59E4 #92E459
analogous
#6659E4 #AB59E4 #E459D7
triadic
#AB59E4 #E4AB59 #59E4AB
tetradic
#AB59E4 #E46659 #92E459 #59D7E4
square
#AB59E4 #E46659 #92E459 #59D7E4
split-complementary
#AB59E4 #D7E459 #59E466
monochromatic
#6E1BA7 #9024DB #AB59E4 #C68EED #E0C2F5

Accessibility & contrast

On white

3.98
#AB59E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AB59E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59E4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59E4#FFFFFF#000000##000000
##AB59E41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#167CE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#A37496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab59e4;
/* rgb */ color: rgb(171, 89, 228);
/* oklch */ color: oklch(62.3% 0.208 308.7);
Tailwind
colors: {
  custom: {
    50: '#c88ced',
    500: '#ab59e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab59e4;
$custom-light: #c88ced;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59e4",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 275.396,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62277,
    "c": 0.20811,
    "h": 308.7
  },
  "luminance": 0.21404
}

Semantic roles & 50–950 ramp

primary
#AB59E4
secondary
#C8E6B3
accent
#D41161
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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