#AB71E7#AB71E7

#AB71E7 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.176 H 304.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB71E7
RGBrgb(171, 113, 231)
HSLhsl(269, 71%, 67%)
HSVhsv(269, 51%, 91%)
CMYKcmyk(26%, 51.1%, 0%, 9.4%)
CIE-LABlab(58.26, 45.38, -51.45)
CIE-LCHlch(58.26, 68.60, 311.42°)
OKLaboklab(65.91% 0.1002 -0.1445)
OKLCHoklch(65.91% 0.176 304.7)
XYZxyz(37.1204, 26.2379, 78.6947)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71E7 #ADE771
analogous
#7172E7 #AB71E7 #E671E7
triadic
#AB71E7 #E7AB71 #71E7AB
tetradic
#AB71E7 #E77172 #ADE771 #71E7E6
square
#AB71E7 #E77172 #ADE771 #71E7E6
split-complementary
#AB71E7 #E7E671 #72E771
monochromatic
#6D20BE #8C3DDE #AB71E7 #CAA5F0 #E9DAF9

Accessibility & contrast

On white

3.36
#AB71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AB71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71E7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71E7#FFFFFF#000000##000000
##AB71E71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#5D8CE4
Tritanopia (blue-blind)
#A186A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab71e7;
/* rgb */ color: rgb(171, 113, 231);
/* oklch */ color: oklch(65.9% 0.176 304.7);
Tailwind
colors: {
  custom: {
    50: '#c79bef',
    500: '#ab71e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab71e7;
$custom-light: #c79bef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71e7",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 269.492,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65907,
    "c": 0.1759,
    "h": 304.7
  },
  "luminance": 0.26238
}

Semantic roles & 50–950 ramp

primary
#AB71E7
secondary
#DAECC7
accent
#D31274
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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