#AB71FF#AB71FF

#AB71FF is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.3% C 0.204 H 299.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AB71FF
RGBrgb(171, 113, 255)
HSLhsl(265, 100%, 72%)
HSVhsv(265, 56%, 100%)
CMYKcmyk(32.9%, 55.7%, 0%, 0%)
CIE-LABlab(59.61, 51.12, -62.61)
CIE-LCHlch(59.61, 80.83, 309.23°)
OKLaboklab(67.33% 0.1014 -0.1772)
OKLCHoklch(67.33% 0.204 299.8)
XYZxyz(40.7454, 27.6879, 97.7860)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71FF #C5FF71
analogous
#717EFF #AB71FF #F271FF
triadic
#AB71FF #FFAB71 #71FFAB
tetradic
#AB71FF #FF717E #C5FF71 #71FFF2
square
#AB71FF #FF717E #C5FF71 #71FFF2
split-complementary
#AB71FF #FFF271 #7EFF71
monochromatic
#6400F6 #8734FF #AB71FF #CFAEFF #EDE0FF

Accessibility & contrast

On white

3.21
#AB71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AB71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71FF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71FF#FFFFFF#000000##000000
##AB71FF1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#478EFC
Tritanopia (blue-blind)
#998EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab71ff;
/* rgb */ color: rgb(171, 113, 255);
/* oklch */ color: oklch(67.3% 0.204 299.8);
Tailwind
colors: {
  custom: {
    50: '#c89cff',
    500: '#ab71ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ff;
$custom-light: #c89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ff",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 264.507,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.20417,
    "h": 299.8
  },
  "luminance": 0.27688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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