#AB59FE#AB59FE

#AB59FE is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.235 H 303.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AB59FE
RGBrgb(171, 89, 254)
HSLhsl(270, 99%, 67%)
HSVhsv(270, 65%, 100%)
CMYKcmyk(32.7%, 65%, 0%, 0.4%)
CIE-LABlab(55.03, 62.99, -69.42)
CIE-LCHlch(55.03, 93.74, 312.22°)
OKLaboklab(63.98% 0.1286 -0.1972)
OKLCHoklch(63.98% 0.235 303.1)
XYZxyz(38.2522, 22.9585, 96.1629)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59FE #ACFE59
analogous
#595AFE #AB59FE #FD59FE
triadic
#AB59FE #FEAB59 #59FEAB
tetradic
#AB59FE #FE595A #ACFE59 #59FEFD
square
#AB59FE #FE595A #ACFE59 #59FEFD
split-complementary
#AB59FE #FEFD59 #5AFE59
monochromatic
#6E01DB #8C1CFE #AB59FE #CA96FE #E9D3FF

Accessibility & contrast

On white

3.76
#AB59FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AB59FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59FE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59FE#FFFFFF#000000##000000
##AB59FE1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#1983FA
Tritanopia (blue-blind)
#9B7EA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ab59fe;
/* rgb */ color: rgb(171, 89, 254);
/* oklch */ color: oklch(64.0% 0.235 303.1);
Tailwind
colors: {
  custom: {
    50: '#c98dff',
    500: '#ab59fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab59fe;
$custom-light: #c98dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59fe",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 269.818,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63984,
    "c": 0.23545,
    "h": 303.1
  },
  "luminance": 0.22958
}

Semantic roles & 50–950 ramp

primary
#AB59FE
secondary
#DAF3BF
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AB59FE

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

Preview Lab → · Contrast checker → · Palette generator →

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