#AB71EF#AB71EF

#AB71EF is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.185 H 302.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB71EF
RGBrgb(171, 113, 239)
HSLhsl(268, 80%, 69%)
HSVhsv(268, 53%, 94%)
CMYKcmyk(28.5%, 52.7%, 0%, 6.3%)
CIE-LABlab(58.70, 47.27, -55.21)
CIE-LCHlch(58.70, 72.68, 310.57°)
OKLaboklab(66.37% 0.1008 -0.1555)
OKLCHoklch(66.37% 0.185 302.9)
XYZxyz(38.2762, 26.7002, 84.7818)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71EF #B5EF71
analogous
#7176EF #AB71EF #EA71EF
triadic
#AB71EF #EFAB71 #71EFAB
tetradic
#AB71EF #EF7176 #B5EF71 #71EFEA
square
#AB71EF #EF7176 #B5EF71 #71EFEA
split-complementary
#AB71EF #EFEA71 #76EF71
monochromatic
#6C17CE #8A3AE9 #AB71EF #CCA8F5 #ECDFFB

Accessibility & contrast

On white

3.31
#AB71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AB71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71EF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71EF#FFFFFF#000000##000000
##AB71EF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#9F89A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab71ef;
/* rgb */ color: rgb(171, 113, 239);
/* oklch */ color: oklch(66.4% 0.185 302.9);
Tailwind
colors: {
  custom: {
    50: '#c79bf5',
    500: '#ab71ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ef;
$custom-light: #c79bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ef",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 267.619,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66368,
    "c": 0.18535,
    "h": 302.9
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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