#AB80DC#AB80DC

#AB80DC is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.8% C 0.138 H 304.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AB80DC
RGBrgb(171, 128, 220)
HSLhsl(268, 57%, 68%)
HSVhsv(268, 42%, 86%)
CMYKcmyk(22.3%, 41.8%, 0%, 13.7%)
CIE-LABlab(61.01, 34.53, -40.95)
CIE-LCHlch(61.01, 53.57, 310.14°)
OKLaboklab(67.79% 0.0784 -0.1141)
OKLCHoklch(67.79% 0.138 304.5)
XYZxyz(37.4293, 29.2637, 71.3729)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80DC #B1DC80
analogous
#8083DC #AB80DC #D980DC
triadic
#AB80DC #DCAB80 #80DCAB
tetradic
#AB80DC #DC8083 #B1DC80 #80DCD9
square
#AB80DC #DC8083 #B1DC80 #80DCD9
split-complementary
#AB80DC #DCD980 #83DC80
monochromatic
#6D31B1 #8B50CF #AB80DC #CBB0E9 #EAE0F6

Accessibility & contrast

On white

3.06
#AB80DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#AB80DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB80DC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80DC#FFFFFF#000000##000000
##AB80DC1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992DF
Deuteranopia (green-blind)
#7393DA
Tritanopia (blue-blind)
#A38FA3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab80dc;
/* rgb */ color: rgb(171, 128, 220);
/* oklch */ color: oklch(67.8% 0.138 304.5);
Tailwind
colors: {
  custom: {
    50: '#c6a5e7',
    500: '#ab80dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab80dc;
$custom-light: #c6a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80dc",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 268.043,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67785,
    "c": 0.13842,
    "h": 304.5
  },
  "luminance": 0.29264
}

Semantic roles & 50–950 ramp

primary
#AB80DC
secondary
#DDEACE
accent
#C42178
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #AB80DC

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

Preview Lab → · Contrast checker → · Palette generator →

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