#AB80FB#AB80FB

#AB80FB is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.4% C 0.177 H 297.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AB80FB
RGBrgb(171, 128, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 49%, 98%)
CMYKcmyk(31.9%, 49%, 0%, 1.6%)
CIE-LABlab(62.56, 41.99, -55.69)
CIE-LCHlch(62.56, 69.74, 307.01°)
OKLaboklab(69.45% 0.0826 -0.157)
OKLCHoklch(69.45% 0.177 297.7)
XYZxyz(41.9221, 31.0608, 95.0348)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80FB #D0FB80
analogous
#8093FB #AB80FB #E980FB
triadic
#AB80FB #FBAB80 #80FBAB
tetradic
#AB80FB #FB8093 #D0FB80 #80FBE9
square
#AB80FB #FB8093 #D0FB80 #80FBE9
split-complementary
#AB80FB #FBE980 #93FB80
monochromatic
#5D09F7 #8445F9 #AB80FB #D2BBFD #EBE1FE

Accessibility & contrast

On white

2.91
#AB80FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AB80FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80FB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80FB#FFFFFF#000000##000000
##AB80FB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#9A97B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab80fb;
/* rgb */ color: rgb(171, 128, 251);
/* oklch */ color: oklch(69.4% 0.177 297.7);
Tailwind
colors: {
  custom: {
    50: '#c7a6fd',
    500: '#ab80fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab80fb;
$custom-light: #c7a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80fb",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 260.976,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69447,
    "c": 0.17736,
    "h": 297.7
  },
  "luminance": 0.31061
}

Semantic roles & 50–950 ramp

primary
#AB80FB
secondary
#EBF6D5
accent
#E60095
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB80FB

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

Preview Lab → · Contrast checker → · Palette generator →

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