#AB71ED#AB71ED

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

Color values

HEX#AB71ED
RGBrgb(171, 113, 237)
HSLhsl(268, 78%, 69%)
HSVhsv(268, 52%, 93%)
CMYKcmyk(27.8%, 52.3%, 0%, 7.1%)
CIE-LABlab(58.59, 46.79, -54.27)
CIE-LCHlch(58.59, 71.66, 310.77°)
OKLaboklab(66.25% 0.1007 -0.1528)
OKLCHoklch(66.25% 0.183 303.4)
XYZxyz(37.9824, 26.5827, 83.2343)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71ED #B3ED71
analogous
#7175ED #AB71ED #E971ED
triadic
#AB71ED #EDAB71 #71EDAB
tetradic
#AB71ED #ED7175 #B3ED71 #71EDE9
square
#AB71ED #ED7175 #B3ED71 #71EDE9
split-complementary
#AB71ED #EDE971 #75ED71
monochromatic
#6C1ACA #8B3BE6 #AB71ED #CBA7F4 #EBDEFB

Accessibility & contrast

On white

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

On black

6.32
#AB71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71ED
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71ED#FFFFFF#000000##000000
##AB71ED1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#588DEA
Tritanopia (blue-blind)
#9F88A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab71ed;
/* rgb */ color: rgb(171, 113, 237);
/* oklch */ color: oklch(66.3% 0.183 303.4);
Tailwind
colors: {
  custom: {
    50: '#c79bf3',
    500: '#ab71ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab71ed;
$custom-light: #c79bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71ed",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 268.065,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.18299,
    "h": 303.4
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#AB71ED
secondary
#DEEFCA
accent
#DA0C79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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