#AB80EB#AB80EB

#AB80EB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.157 H 300.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AB80EB
RGBrgb(171, 128, 235)
HSLhsl(264, 73%, 71%)
HSVhsv(264, 46%, 92%)
CMYKcmyk(27.2%, 45.5%, 0%, 7.8%)
CIE-LABlab(61.74, 38.08, -48.16)
CIE-LCHlch(61.74, 61.40, 308.33°)
OKLaboklab(68.56% 0.0808 -0.135)
OKLCHoklch(68.56% 0.157 300.9)
XYZxyz(39.5057, 30.0943, 82.3086)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80EB #C0EB80
analogous
#808AEB #AB80EB #E080EB
triadic
#AB80EB #EBAB80 #80EBAB
tetradic
#AB80EB #EB808A #C0EB80 #80EBE0
square
#AB80EB #EB808A #C0EB80 #80EBE0
split-complementary
#AB80EB #EBE080 #8AEB80
monochromatic
#6721D0 #884BE3 #AB80EB #CEB5F3 #EEE5FB

Accessibility & contrast

On white

2.99
#AB80EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#AB80EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80EB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80EB#FFFFFF#000000##000000
##AB80EB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#9F93AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab80eb;
/* rgb */ color: rgb(171, 128, 235);
/* oklch */ color: oklch(68.6% 0.157 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a5f2',
    500: '#ab80eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab80eb;
$custom-light: #c6a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80eb",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 264.112,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68564,
    "c": 0.15731,
    "h": 300.9
  },
  "luminance": 0.30094
}

Semantic roles & 50–950 ramp

primary
#AB80EB
secondary
#E6F1D5
accent
#D51186
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB80EB

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

Preview Lab → · Contrast checker → · Palette generator →

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