#AB86E1#AB86E1

#AB86E1 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.1% C 0.135 H 301.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AB86E1
RGBrgb(171, 134, 225)
HSLhsl(264, 60%, 70%)
HSVhsv(264, 40%, 88%)
CMYKcmyk(24%, 40.4%, 0%, 11.8%)
CIE-LABlab(62.63, 32.33, -41.20)
CIE-LCHlch(62.63, 52.37, 308.12°)
OKLaboklab(69.08% 0.071 -0.1148)
OKLCHoklch(69.08% 0.135 301.7)
XYZxyz(38.9073, 31.1443, 75.1813)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86E1 #BCE186
analogous
#868EE1 #AB86E1 #D986E1
triadic
#AB86E1 #E1AB86 #86E1AB
tetradic
#AB86E1 #E1868E #BCE186 #86E1D9
square
#AB86E1 #E1868E #BCE186 #86E1D9
split-complementary
#AB86E1 #E1D986 #8EE186
monochromatic
#692FBE #8955D5 #AB86E1 #CDB7ED #EEE6F9

Accessibility & contrast

On white

2.91
#AB86E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AB86E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86E1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86E1#FFFFFF#000000##000000
##AB86E11.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E4
Deuteranopia (green-blind)
#7797DF
Tritanopia (blue-blind)
#A195A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab86e1;
/* rgb */ color: rgb(171, 134, 225);
/* oklch */ color: oklch(69.1% 0.135 301.7);
Tailwind
colors: {
  custom: {
    50: '#c6a9eb',
    500: '#ab86e1',
    950: '#000000',
  },
}
SCSS
$custom: #ab86e1;
$custom-light: #c6a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86e1",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 225
  },
  "hsl": {
    "h": 264.396,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69081,
    "c": 0.13496,
    "h": 301.7
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#AB86E1
secondary
#E4EED5
accent
#C81E83
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB86E1

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

Preview Lab → · Contrast checker → · Palette generator →

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