#AB86FA#AB86FA

#AB86FA is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.4% C 0.167 H 296.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AB86FA
RGBrgb(171, 134, 250)
HSLhsl(259, 92%, 75%)
HSVhsv(259, 46%, 98%)
CMYKcmyk(31.6%, 46.4%, 0%, 2%)
CIE-LABlab(63.84, 38.40, -53.10)
CIE-LCHlch(63.84, 65.53, 305.88°)
OKLaboklab(70.39% 0.0748 -0.1494)
OKLCHoklch(70.39% 0.167 296.6)
XYZxyz(42.5708, 32.6097, 94.4754)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86FA #D5FA86
analogous
#869BFA #AB86FA #E586FA
triadic
#AB86FA #FAAB86 #86FAAB
tetradic
#AB86FA #FA869B #D5FA86 #86FAE5
square
#AB86FA #FA869B #D5FA86 #86FAE5
split-complementary
#AB86FA #FAE586 #9BFA86
monochromatic
#5910F5 #824BF8 #AB86FA #D4C1FC #EBE2FE

Accessibility & contrast

On white

2.79
#AB86FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#AB86FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86FA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86FA#FFFFFF#000000##000000
##AB86FA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#9A9CB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab86fa;
/* rgb */ color: rgb(171, 134, 250);
/* oklch */ color: oklch(70.4% 0.167 296.6);
Tailwind
colors: {
  custom: {
    50: '#c7aafc',
    500: '#ab86fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab86fa;
$custom-light: #c7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86fa",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 259.138,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70391,
    "c": 0.16706,
    "h": 296.6
  },
  "luminance": 0.3261
}

Semantic roles & 50–950 ramp

primary
#AB86FA
secondary
#EBF6D5
accent
#E6009C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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