#AB80FE#AB80FE

#AB80FE is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.181 H 297.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AB80FE
RGBrgb(171, 128, 254)
HSLhsl(260, 98%, 75%)
HSVhsv(260, 50%, 100%)
CMYKcmyk(32.7%, 49.6%, 0%, 0.4%)
CIE-LABlab(62.72, 42.73, -57.08)
CIE-LCHlch(62.72, 71.30, 306.82°)
OKLaboklab(69.62% 0.0828 -0.161)
OKLCHoklch(69.62% 0.181 297.2)
XYZxyz(42.3987, 31.2515, 97.5451)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB80FE #D3FE80
analogous
#8094FE #AB80FE #EA80FE
triadic
#AB80FE #FEAB80 #80FEAB
tetradic
#AB80FE #FE8094 #D3FE80 #80FEEA
square
#AB80FE #FE8094 #D3FE80 #80FEEA
split-complementary
#AB80FE #FEEA80 #94FE80
monochromatic
#5B07FD #8343FE #AB80FE #D3BDFE #EBE1FF

Accessibility & contrast

On white

2.90
#AB80FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AB80FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB80FE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB80FE#FFFFFF#000000##000000
##AB80FE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#9998B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab80fe;
/* rgb */ color: rgb(171, 128, 254);
/* oklch */ color: oklch(69.6% 0.181 297.2);
Tailwind
colors: {
  custom: {
    50: '#c7a6ff',
    500: '#ab80fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab80fe;
$custom-light: #c7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab80fe",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 260.476,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.18109,
    "h": 297.2
  },
  "luminance": 0.31252
}

Semantic roles & 50–950 ramp

primary
#AB80FE
secondary
#EBF7D4
accent
#E60097
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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