#AB86FD#AB86FD

#AB86FD is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.6% C 0.171 H 296.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AB86FD
RGBrgb(171, 134, 253)
HSLhsl(259, 97%, 76%)
HSVhsv(259, 47%, 99%)
CMYKcmyk(32.4%, 47%, 0%, 0.8%)
CIE-LABlab(64.00, 39.15, -54.50)
CIE-LCHlch(64.00, 67.10, 305.69°)
OKLaboklab(70.56% 0.0751 -0.1535)
OKLCHoklch(70.56% 0.171 296.1)
XYZxyz(43.0449, 32.7993, 96.9725)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86FD #D8FD86
analogous
#869CFD #AB86FD #E686FD
triadic
#AB86FD #FDAB86 #86FDAB
tetradic
#AB86FD #FD869C #D8FD86 #86FDE6
square
#AB86FD #FD869C #D8FD86 #86FDE6
split-complementary
#AB86FD #FDE686 #9CFD86
monochromatic
#570EFB #814AFC #AB86FD #D5C2FE #EAE1FF

Accessibility & contrast

On white

2.78
#AB86FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AB86FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86FD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86FD#FFFFFF#000000##000000
##AB86FD1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#659AFA
Tritanopia (blue-blind)
#999DB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab86fd;
/* rgb */ color: rgb(171, 134, 253);
/* oklch */ color: oklch(70.6% 0.171 296.1);
Tailwind
colors: {
  custom: {
    50: '#c7aafe',
    500: '#ab86fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab86fd;
$custom-light: #c7aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86fd",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 258.655,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70557,
    "c": 0.17087,
    "h": 296.1
  },
  "luminance": 0.328
}

Semantic roles & 50–950 ramp

primary
#AB86FD
secondary
#ECF7D4
accent
#E6009E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AB86FD

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

Preview Lab → · Contrast checker → · Palette generator →

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