#AB86EE#AB86EE

#AB86EE is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.7% C 0.152 H 298.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#AB86EE
RGBrgb(171, 134, 238)
HSLhsl(261, 75%, 73%)
HSVhsv(261, 44%, 93%)
CMYKcmyk(28.2%, 43.7%, 0%, 6.7%)
CIE-LABlab(63.24, 35.45, -47.44)
CIE-LCHlch(63.24, 59.22, 306.77°)
OKLaboklab(69.75% 0.0731 -0.1329)
OKLCHoklch(69.75% 0.152 298.8)
XYZxyz(40.7487, 31.8809, 84.8792)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86EE #C9EE86
analogous
#8695EE #AB86EE #DF86EE
triadic
#AB86EE #EEAB86 #86EEAB
tetradic
#AB86EE #EE8695 #C9EE86 #86EEDF
square
#AB86EE #EE8695 #C9EE86 #86EEDF
split-complementary
#AB86EE #EEDF86 #95EE86
monochromatic
#621FDB #8650E6 #AB86EE #D0BCF6 #ECE4FB

Accessibility & contrast

On white

2.85
#AB86EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#AB86EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86EE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86EE#FFFFFF#000000##000000
##AB86EE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#9E98AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab86ee;
/* rgb */ color: rgb(171, 134, 238);
/* oklch */ color: oklch(69.7% 0.152 298.8);
Tailwind
colors: {
  custom: {
    50: '#c6aaf4',
    500: '#ab86ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab86ee;
$custom-light: #c6aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86ee",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 238
  },
  "hsl": {
    "h": 261.346,
    "s": 75.362,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69746,
    "c": 0.15169,
    "h": 298.8
  },
  "luminance": 0.31881
}

Semantic roles & 50–950 ramp

primary
#AB86EE
secondary
#E9F3D8
accent
#D80E90
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB86EE

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

Preview Lab → · Contrast checker → · Palette generator →

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