#AB59DF#AB59DF

#AB59DF is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.203 H 310.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AB59DF
RGBrgb(171, 89, 223)
HSLhsl(277, 68%, 61%)
HSVhsv(277, 60%, 87%)
CMYKcmyk(23.3%, 60.1%, 0%, 12.5%)
CIE-LABlab(53.09, 56.02, -55.20)
CIE-LCHlch(53.09, 78.65, 315.42°)
OKLaboklab(61.97% 0.1303 -0.1554)
OKLCHoklch(61.97% 0.203 310)
XYZxyz(33.6837, 21.1310, 72.1020)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59DF #8DDF59
analogous
#6859DF #AB59DF #DF59D0
triadic
#AB59DF #DFAB59 #59DFAB
tetradic
#AB59DF #DF6859 #8DDF59 #59D0DF
square
#AB59DF #DF6859 #8DDF59 #59D0DF
split-complementary
#AB59DF #D0DF59 #59DF68
monochromatic
#6D1F9F #9029D2 #AB59DF #C58CE9 #DFC0F3

Accessibility & contrast

On white

4.02
#AB59DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AB59DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59DF#FFFFFF#000000##000000
##AB59DF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#A47394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab59df;
/* rgb */ color: rgb(171, 89, 223);
/* oklch */ color: oklch(62.0% 0.203 310.0);
Tailwind
colors: {
  custom: {
    50: '#c78cea',
    500: '#ab59df',
    950: '#000000',
  },
}
SCSS
$custom: #ab59df;
$custom-light: #c78cea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59df",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 276.716,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.20285,
    "h": 310
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#AB59DF
secondary
#C4E3B1
accent
#D0165E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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