#AB86EA#AB86EA

#AB86EA is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.147 H 299.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AB86EA
RGBrgb(171, 134, 234)
HSLhsl(262, 70%, 72%)
HSVhsv(262, 43%, 92%)
CMYKcmyk(26.9%, 42.7%, 0%, 8.2%)
CIE-LABlab(63.05, 34.48, -45.53)
CIE-LCHlch(63.05, 57.11, 307.13°)
OKLaboklab(69.54% 0.0725 -0.1274)
OKLCHoklch(69.54% 0.147 299.7)
XYZxyz(40.1676, 31.6484, 81.8185)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86EA #C5EA86
analogous
#8693EA #AB86EA #DD86EA
triadic
#AB86EA #EAAB86 #86EAAB
tetradic
#AB86EA #EA8693 #C5EA86 #86EADD
square
#AB86EA #EA8693 #C5EA86 #86EADD
split-complementary
#AB86EA #EADD86 #93EA86
monochromatic
#6424D1 #8752E1 #AB86EA #CFBAF3 #EDE5FA

Accessibility & contrast

On white

2.87
#AB86EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AB86EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86EA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86EA#FFFFFF#000000##000000
##AB86EA1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#9F97AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab86ea;
/* rgb */ color: rgb(171, 134, 234);
/* oklch */ color: oklch(69.5% 0.147 299.7);
Tailwind
colors: {
  custom: {
    50: '#c6aaf1',
    500: '#ab86ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab86ea;
$custom-light: #c6aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86ea",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 262.2,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69537,
    "c": 0.14655,
    "h": 299.7
  },
  "luminance": 0.31649
}

Semantic roles & 50–950 ramp

primary
#AB86EA
secondary
#E9F2D9
accent
#D2138C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB86EA

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

Preview Lab → · Contrast checker → · Palette generator →

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