#AB80EC#AB80EC

#AB80EC is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.159 H 300.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#AB80EC
RGBrgb(171, 128, 236)
HSLhsl(264, 74%, 71%)
HSVhsv(264, 46%, 93%)
CMYKcmyk(27.5%, 45.8%, 0%, 7.5%)
CIE-LABlab(61.79, 38.32, -48.64)
CIE-LCHlch(61.79, 61.92, 308.23°)
OKLaboklab(68.62% 0.0809 -0.1364)
OKLCHoklch(68.62% 0.159 300.7)
XYZxyz(39.6506, 30.1522, 83.0717)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80EC #C1EC80
analogous
#808BEC #AB80EC #E180EC
triadic
#AB80EC #ECAB80 #80ECAB
tetradic
#AB80EC #EC808B #C1EC80 #80ECE1
square
#AB80EC #EC808B #C1EC80 #80ECE1
split-complementary
#AB80EC #ECE180 #8BEC80
monochromatic
#671FD2 #884BE4 #AB80EC #CEB5F4 #EDE4FB

Accessibility & contrast

On white

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

On black

7.03
#AB80EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80EC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80EC#FFFFFF#000000##000000
##AB80EC1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#6A95E9
Tritanopia (blue-blind)
#9F93AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab80ec;
/* rgb */ color: rgb(171, 128, 236);
/* oklch */ color: oklch(68.6% 0.159 300.7);
Tailwind
colors: {
  custom: {
    50: '#c6a5f2',
    500: '#ab80ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab80ec;
$custom-light: #c6a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80ec",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 263.889,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68617,
    "c": 0.15857,
    "h": 300.7
  },
  "luminance": 0.30152
}

Semantic roles & 50–950 ramp

primary
#AB80EC
secondary
#E7F2D6
accent
#D60F87
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB80EC

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

Preview Lab → · Contrast checker → · Palette generator →

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