#AB86FB#AB86FB

#AB86FB is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.4% C 0.168 H 296.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AB86FB
RGBrgb(171, 134, 251)
HSLhsl(259, 94%, 75%)
HSVhsv(259, 47%, 98%)
CMYKcmyk(31.9%, 46.6%, 0%, 1.6%)
CIE-LABlab(63.89, 38.65, -53.56)
CIE-LCHlch(63.89, 66.05, 305.81°)
OKLaboklab(70.45% 0.0749 -0.1508)
OKLCHoklch(70.45% 0.168 296.4)
XYZxyz(42.7280, 32.6726, 95.3034)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86FB #D6FB86
analogous
#869BFB #AB86FB #E586FB
triadic
#AB86FB #FBAB86 #86FBAB
tetradic
#AB86FB #FB869B #D6FB86 #86FBE5
square
#AB86FB #FB869B #D6FB86 #86FBE5
split-complementary
#AB86FB #FBE586 #9BFB86
monochromatic
#5910F7 #824BF9 #AB86FB #D4C1FD #EAE1FE

Accessibility & contrast

On white

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

On black

7.53
#AB86FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86FB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86FB#FFFFFF#000000##000000
##AB86FB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#6799F8
Tritanopia (blue-blind)
#999CB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab86fb;
/* rgb */ color: rgb(171, 134, 251);
/* oklch */ color: oklch(70.4% 0.168 296.4);
Tailwind
colors: {
  custom: {
    50: '#c7aafd',
    500: '#ab86fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab86fb;
$custom-light: #c7aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86fb",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 258.974,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70446,
    "c": 0.16833,
    "h": 296.4
  },
  "luminance": 0.32673
}

Semantic roles & 50–950 ramp

primary
#AB86FB
secondary
#ECF6D5
accent
#E6009D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB86FB

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

Preview Lab → · Contrast checker → · Palette generator →

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