#AB86FF#AB86FF

#AB86FF is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.7% C 0.173 H 295.7°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AB86FF
RGBrgb(171, 134, 255)
HSLhsl(258, 100%, 76%)
HSVhsv(258, 47%, 100%)
CMYKcmyk(32.9%, 47.5%, 0%, 0%)
CIE-LABlab(64.10, 39.65, -55.43)
CIE-LCHlch(64.10, 68.15, 305.58°)
OKLaboklab(70.67% 0.0753 -0.1562)
OKLCHoklch(70.67% 0.173 295.7)
XYZxyz(43.3652, 32.9275, 98.6593)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86FF #DAFF86
analogous
#869EFF #AB86FF #E886FF
triadic
#AB86FF #FFAB86 #86FFAB
tetradic
#AB86FF #FF869E #DAFF86 #86FFE8
square
#AB86FF #FF869E #DAFF86 #86FFE8
split-complementary
#AB86FF #FFE886 #9EFF86
monochromatic
#560CFF #8149FF #AB86FF #D5C3FF #EAE0FF

Accessibility & contrast

On white

2.77
#AB86FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#AB86FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86FF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86FF#FFFFFF#000000##000000
##AB86FF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#989DB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab86ff;
/* rgb */ color: rgb(171, 134, 255);
/* oklch */ color: oklch(70.7% 0.173 295.7);
Tailwind
colors: {
  custom: {
    50: '#c7aaff',
    500: '#ab86ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab86ff;
$custom-light: #c7aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86ff",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 258.347,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70669,
    "c": 0.17341,
    "h": 295.7
  },
  "luminance": 0.32928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB86FF

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

Preview Lab → · Contrast checker → · Palette generator →

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