#AB71EA#AB71EA

#AB71EA is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.179 H 304.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB71EA
RGBrgb(171, 113, 234)
HSLhsl(269, 74%, 68%)
HSVhsv(269, 52%, 92%)
CMYKcmyk(26.9%, 51.7%, 0%, 8.2%)
CIE-LABlab(58.42, 46.09, -52.86)
CIE-LCHlch(58.42, 70.13, 311.08°)
OKLaboklab(66.08% 0.1005 -0.1487)
OKLCHoklch(66.08% 0.179 304)
XYZxyz(37.5478, 26.4088, 80.9453)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71EA #B0EA71
analogous
#7173EA #AB71EA #E771EA
triadic
#AB71EA #EAAB71 #71EAAB
tetradic
#AB71EA #EA7173 #B0EA71 #71EAE7
square
#AB71EA #EA7173 #B0EA71 #71EAE7
split-complementary
#AB71EA #EAE771 #73EA71
monochromatic
#6D1DC4 #8B3CE2 #AB71EA #CBA6F2 #EADCFA

Accessibility & contrast

On white

3.34
#AB71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AB71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71EA#FFFFFF#000000##000000
##AB71EA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#5B8CE7
Tritanopia (blue-blind)
#A087A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab71ea;
/* rgb */ color: rgb(171, 113, 234);
/* oklch */ color: oklch(66.1% 0.179 304.0);
Tailwind
colors: {
  custom: {
    50: '#c79bf1',
    500: '#ab71ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ea;
$custom-light: #c79bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ea",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 268.76,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66078,
    "c": 0.17944,
    "h": 304
  },
  "luminance": 0.26409
}

Semantic roles & 50–950 ramp

primary
#AB71EA
secondary
#DCEEC9
accent
#D60F77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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