#AB59DE#AB59DE

#AB59DE is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.202 H 310.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AB59DE
RGBrgb(171, 89, 222)
HSLhsl(277, 67%, 61%)
HSVhsv(277, 60%, 87%)
CMYKcmyk(23%, 59.9%, 0%, 12.9%)
CIE-LABlab(53.03, 55.80, -54.73)
CIE-LCHlch(53.03, 78.16, 315.56°)
OKLaboklab(61.9% 0.1303 -0.1541)
OKLCHoklch(61.9% 0.202 310.2)
XYZxyz(33.5493, 21.0773, 71.3941)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59DE #8CDE59
analogous
#6859DE #AB59DE #DE59CF
triadic
#AB59DE #DEAB59 #59DEAB
tetradic
#AB59DE #DE6859 #8CDE59 #59CFDE
square
#AB59DE #DE6859 #8CDE59 #59CFDE
split-complementary
#AB59DE #CFDE59 #59DE68
monochromatic
#6D1F9D #9029D0 #AB59DE #C58CE8 #DFBFF2

Accessibility & contrast

On white

4.03
#AB59DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AB59DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59DE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59DE#FFFFFF#000000##000000
##AB59DE1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#4A80DB
Tritanopia (blue-blind)
#A47293
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab59de;
/* rgb */ color: rgb(171, 89, 222);
/* oklch */ color: oklch(61.9% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#c78ce9',
    500: '#ab59de',
    950: '#000000',
  },
}
SCSS
$custom: #ab59de;
$custom-light: #c78ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59de",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 276.992,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61904,
    "c": 0.2018,
    "h": 310.2
  },
  "luminance": 0.21077
}

Semantic roles & 50–950 ramp

primary
#AB59DE
secondary
#C4E2B0
accent
#CF175D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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