#AB80EF#AB80EF

#AB80EF is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.162 H 300.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AB80EF
RGBrgb(171, 128, 239)
HSLhsl(263, 78%, 72%)
HSVhsv(263, 46%, 94%)
CMYKcmyk(28.5%, 46.4%, 0%, 6.3%)
CIE-LABlab(61.94, 39.04, -50.06)
CIE-LCHlch(61.94, 63.49, 307.95°)
OKLaboklab(68.78% 0.0813 -0.1405)
OKLCHoklch(68.78% 0.162 300)
XYZxyz(40.0901, 30.3280, 85.3864)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80EF #C4EF80
analogous
#808DEF #AB80EF #E280EF
triadic
#AB80EF #EFAB80 #80EFAB
tetradic
#AB80EF #EF808D #C4EF80 #80EFE2
square
#AB80EF #EF808D #C4EF80 #80EFE2
split-complementary
#AB80EF #EFE280 #8DEF80
monochromatic
#651BD9 #874AE8 #AB80EF #CFB6F6 #EDE4FC

Accessibility & contrast

On white

2.97
#AB80EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AB80EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80EF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80EF#FFFFFF#000000##000000
##AB80EF1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#9E94AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab80ef;
/* rgb */ color: rgb(171, 128, 239);
/* oklch */ color: oklch(68.8% 0.162 300.0);
Tailwind
colors: {
  custom: {
    50: '#c6a5f5',
    500: '#ab80ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab80ef;
$custom-light: #c6a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80ef",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 263.243,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6878,
    "c": 0.16234,
    "h": 300
  },
  "luminance": 0.30328
}

Semantic roles & 50–950 ramp

primary
#AB80EF
secondary
#E9F3D7
accent
#DA0C8A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB80EF

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

Preview Lab → · Contrast checker → · Palette generator →

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