#AB86E5#AB86E5

#AB86E5 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.140 H 300.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AB86E5
RGBrgb(171, 134, 229)
HSLhsl(263, 65%, 71%)
HSVhsv(263, 41%, 90%)
CMYKcmyk(25.3%, 41.5%, 0%, 10.2%)
CIE-LABlab(62.81, 33.28, -43.13)
CIE-LCHlch(62.81, 54.48, 307.65°)
OKLaboklab(69.28% 0.0717 -0.1204)
OKLCHoklch(69.28% 0.14 300.8)
XYZxyz(39.4594, 31.3651, 78.0888)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86E5 #C0E586
analogous
#8690E5 #AB86E5 #DA86E5
triadic
#AB86E5 #E5AB86 #86E5AB
tetradic
#AB86E5 #E58690 #C0E586 #86E5DA
square
#AB86E5 #E58690 #C0E586 #86E5DA
split-complementary
#AB86E5 #E5DA86 #90E586
monochromatic
#672BC6 #8854DA #AB86E5 #CEB8F0 #EEE6FA

Accessibility & contrast

On white

2.89
#AB86E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AB86E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86E5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86E5#FFFFFF#000000##000000
##AB86E51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#7497E3
Tritanopia (blue-blind)
#A096AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab86e5;
/* rgb */ color: rgb(171, 134, 229);
/* oklch */ color: oklch(69.3% 0.140 300.8);
Tailwind
colors: {
  custom: {
    50: '#c6a9ed',
    500: '#ab86e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab86e5;
$custom-light: #c6a9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86e5",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 263.368,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69281,
    "c": 0.14012,
    "h": 300.8
  },
  "luminance": 0.31365
}

Semantic roles & 50–950 ramp

primary
#AB86E5
secondary
#E6F0D7
accent
#CC1987
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB86E5

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

Preview Lab → · Contrast checker → · Palette generator →

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