#AB59DD#AB59DD

#AB59DD is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.201 H 310.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB59DD
RGBrgb(171, 89, 221)
HSLhsl(277, 66%, 61%)
HSVhsv(277, 60%, 87%)
CMYKcmyk(22.6%, 59.7%, 0%, 13.3%)
CIE-LABlab(52.98, 55.58, -54.26)
CIE-LCHlch(52.98, 77.67, 315.69°)
OKLaboklab(61.84% 0.1304 -0.1527)
OKLCHoklch(61.84% 0.201 310.5)
XYZxyz(33.4156, 21.0238, 70.6903)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB59DD #8BDD59
analogous
#6959DD #AB59DD #DD59CD
triadic
#AB59DD #DDAB59 #59DDAB
tetradic
#AB59DD #DD6959 #8BDD59 #59CDDD
square
#AB59DD #DD6959 #8BDD59 #59CDDD
split-complementary
#AB59DD #CDDD59 #59DD69
monochromatic
#6D209C #902ACF #AB59DD #C58CE7 #DEBFF2

Accessibility & contrast

On white

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

On black

5.20
#AB59DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB59DD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB59DD#FFFFFF#000000##000000
##AB59DD1.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#A57293
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab59dd;
/* rgb */ color: rgb(171, 89, 221);
/* oklch */ color: oklch(61.8% 0.201 310.5);
Tailwind
colors: {
  custom: {
    50: '#c78ce8',
    500: '#ab59dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab59dd;
$custom-light: #c78ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab59dd",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 277.273,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.20075,
    "h": 310.5
  },
  "luminance": 0.21023
}

Semantic roles & 50–950 ramp

primary
#AB59DD
secondary
#C3E2B0
accent
#CE185D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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