#AB71EE#AB71EE

#AB71EE is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.184 H 303.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB71EE
RGBrgb(171, 113, 238)
HSLhsl(268, 79%, 69%)
HSVhsv(268, 53%, 93%)
CMYKcmyk(28.2%, 52.5%, 0%, 6.7%)
CIE-LABlab(58.64, 47.03, -54.74)
CIE-LCHlch(58.64, 72.17, 310.67°)
OKLaboklab(66.31% 0.1007 -0.1542)
OKLCHoklch(66.31% 0.184 303.2)
XYZxyz(38.1289, 26.6413, 84.0059)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71EE #B4EE71
analogous
#7176EE #AB71EE #EA71EE
triadic
#AB71EE #EEAB71 #71EEAB
tetradic
#AB71EE #EE7176 #B4EE71 #71EEEA
square
#AB71EE #EE7176 #B4EE71 #71EEEA
split-complementary
#AB71EE #EEEA71 #76EE71
monochromatic
#6C18CC #8B3AE7 #AB71EE #CBA8F5 #ECDEFB

Accessibility & contrast

On white

3.32
#AB71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#AB71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71EE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71EE#FFFFFF#000000##000000
##AB71EE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#9F88A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab71ee;
/* rgb */ color: rgb(171, 113, 238);
/* oklch */ color: oklch(66.3% 0.184 303.2);
Tailwind
colors: {
  custom: {
    50: '#c79bf4',
    500: '#ab71ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ee;
$custom-light: #c79bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ee",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 267.84,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6631,
    "c": 0.18417,
    "h": 303.2
  },
  "luminance": 0.26641
}

Semantic roles & 50–950 ramp

primary
#AB71EE
secondary
#DFF0CB
accent
#DB0B7A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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