#AB80FC#AB80FC

#AB80FC is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.179 H 297.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AB80FC
RGBrgb(171, 128, 252)
HSLhsl(261, 95%, 75%)
HSVhsv(261, 49%, 99%)
CMYKcmyk(32.1%, 49.2%, 0%, 1.2%)
CIE-LABlab(62.61, 42.23, -56.15)
CIE-LCHlch(62.61, 70.26, 306.95°)
OKLaboklab(69.5% 0.0827 -0.1583)
OKLCHoklch(69.5% 0.179 297.6)
XYZxyz(42.0801, 31.1240, 95.8671)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80FC #D1FC80
analogous
#8093FC #AB80FC #E980FC
triadic
#AB80FC #FCAB80 #80FCAB
tetradic
#AB80FC #FC8093 #D1FC80 #80FCE9
square
#AB80FC #FC8093 #D1FC80 #80FCE9
split-complementary
#AB80FC #FCE980 #93FC80
monochromatic
#5C08F9 #8344FB #AB80FC #D3BCFD #EBE1FE

Accessibility & contrast

On white

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

On black

7.23
#AB80FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80FC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80FC#FFFFFF#000000##000000
##AB80FC1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#9998B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab80fc;
/* rgb */ color: rgb(171, 128, 252);
/* oklch */ color: oklch(69.5% 0.179 297.6);
Tailwind
colors: {
  custom: {
    50: '#c7a6fe',
    500: '#ab80fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab80fc;
$custom-light: #c7a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80fc",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 260.806,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.1786,
    "h": 297.6
  },
  "luminance": 0.31125
}

Semantic roles & 50–950 ramp

primary
#AB80FC
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB80FC

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

Preview Lab → · Contrast checker → · Palette generator →

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