#AB71FE#AB71FE

#AB71FE is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.3% C 0.203 H 299.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB71FE
RGBrgb(171, 113, 254)
HSLhsl(265, 99%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.7%, 55.5%, 0%, 0.4%)
CIE-LABlab(59.55, 50.88, -62.15)
CIE-LCHlch(59.55, 80.32, 309.30°)
OKLaboklab(67.27% 0.1013 -0.1759)
OKLCHoklch(67.27% 0.203 299.9)
XYZxyz(40.5848, 27.6236, 96.9404)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71FE #C4FE71
analogous
#717EFE #AB71FE #F271FE
triadic
#AB71FE #FEAB71 #71FEAB
tetradic
#AB71FE #FE717E #C4FE71 #71FEF2
square
#AB71FE #FE717E #C4FE71 #71FEF2
split-complementary
#AB71FE #FEF271 #7EFE71
monochromatic
#6502F3 #8734FE #AB71FE #CFAEFE #EDE1FF

Accessibility & contrast

On white

3.22
#AB71FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AB71FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71FE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71FE#FFFFFF#000000##000000
##AB71FE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#498EFB
Tritanopia (blue-blind)
#9A8DAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab71fe;
/* rgb */ color: rgb(171, 113, 254);
/* oklch */ color: oklch(67.3% 0.203 299.9);
Tailwind
colors: {
  custom: {
    50: '#c89cff',
    500: '#ab71fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab71fe;
$custom-light: #c89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71fe",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 264.681,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6727,
    "c": 0.203,
    "h": 299.9
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#AB71FE
secondary
#E9F7D4
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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