#AB86EF#AB86EF

#AB86EF is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.153 H 298.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AB86EF
RGBrgb(171, 134, 239)
HSLhsl(261, 77%, 73%)
HSVhsv(261, 44%, 94%)
CMYKcmyk(28.5%, 43.9%, 0%, 6.3%)
CIE-LABlab(63.29, 35.69, -47.91)
CIE-LCHlch(63.29, 59.75, 306.68°)
OKLaboklab(69.8% 0.0733 -0.1343)
OKLCHoklch(69.8% 0.153 298.6)
XYZxyz(40.8960, 31.9398, 85.6550)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86EF #CAEF86
analogous
#8695EF #AB86EF #DF86EF
triadic
#AB86EF #EFAB86 #86EFAB
tetradic
#AB86EF #EF8695 #CAEF86 #86EFDF
square
#AB86EF #EF8695 #CAEF86 #86EFDF
split-complementary
#AB86EF #EFDF86 #95EF86
monochromatic
#611DDD #8550E8 #AB86EF #D1BCF6 #ECE4FB

Accessibility & contrast

On white

2.84
#AB86EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AB86EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86EF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86EF#FFFFFF#000000##000000
##AB86EF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#9D99AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab86ef;
/* rgb */ color: rgb(171, 134, 239);
/* oklch */ color: oklch(69.8% 0.153 298.6);
Tailwind
colors: {
  custom: {
    50: '#c6aaf5',
    500: '#ab86ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab86ef;
$custom-light: #c6aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86ef",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 261.143,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69798,
    "c": 0.15298,
    "h": 298.6
  },
  "luminance": 0.3194
}

Semantic roles & 50–950 ramp

primary
#AB86EF
secondary
#EAF3D8
accent
#D90D91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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