#AB71E9#AB71E9

#AB71E9 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.178 H 304.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB71E9
RGBrgb(171, 113, 233)
HSLhsl(269, 73%, 68%)
HSVhsv(269, 52%, 91%)
CMYKcmyk(26.6%, 51.5%, 0%, 8.6%)
CIE-LABlab(58.37, 45.85, -52.39)
CIE-LCHlch(58.37, 69.62, 311.19°)
OKLaboklab(66.02% 0.1004 -0.1473)
OKLCHoklch(66.02% 0.178 304.3)
XYZxyz(37.4045, 26.3515, 80.1908)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71E9 #AFE971
analogous
#7173E9 #AB71E9 #E771E9
triadic
#AB71E9 #E9AB71 #71E9AB
tetradic
#AB71E9 #E97173 #AFE971 #71E9E7
square
#AB71E9 #E97173 #AFE971 #71E9E7
split-complementary
#AB71E9 #E9E771 #73E971
monochromatic
#6D1EC2 #8C3CE1 #AB71E9 #CAA6F1 #EADBF9

Accessibility & contrast

On white

3.35
#AB71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AB71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71E9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71E9#FFFFFF#000000##000000
##AB71E91.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#5C8CE6
Tritanopia (blue-blind)
#A087A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab71e9;
/* rgb */ color: rgb(171, 113, 233);
/* oklch */ color: oklch(66.0% 0.178 304.3);
Tailwind
colors: {
  custom: {
    50: '#c79bf0',
    500: '#ab71e9',
    950: '#000000',
  },
}
SCSS
$custom: #ab71e9;
$custom-light: #c79bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71e9",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 269,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66021,
    "c": 0.17827,
    "h": 304.3
  },
  "luminance": 0.26351
}

Semantic roles & 50–950 ramp

primary
#AB71E9
secondary
#DCEDC8
accent
#D51076
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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