#AB86F6#AB86F6

#AB86F6 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.162 H 297.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AB86F6
RGBrgb(171, 134, 246)
HSLhsl(260, 86%, 75%)
HSVhsv(260, 46%, 96%)
CMYKcmyk(30.5%, 45.5%, 0%, 3.5%)
CIE-LABlab(63.64, 37.41, -51.22)
CIE-LCHlch(63.64, 63.43, 306.14°)
OKLaboklab(70.17% 0.0743 -0.1439)
OKLCHoklch(70.17% 0.162 297.3)
XYZxyz(41.9502, 32.3615, 91.2072)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86F6 #D1F686
analogous
#8699F6 #AB86F6 #E386F6
triadic
#AB86F6 #F6AB86 #86F6AB
tetradic
#AB86F6 #F68699 #D1F686 #86F6E3
square
#AB86F6 #F68699 #D1F686 #86F6E3
split-complementary
#AB86F6 #F6E386 #99F686
monochromatic
#5C14EE #834DF2 #AB86F6 #D3BFFA #EBE3FD

Accessibility & contrast

On white

2.81
#AB86F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AB86F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86F6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86F6#FFFFFF#000000##000000
##AB86F61.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFA
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#9B9BB2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab86f6;
/* rgb */ color: rgb(171, 134, 246);
/* oklch */ color: oklch(70.2% 0.162 297.3);
Tailwind
colors: {
  custom: {
    50: '#c7aaf9',
    500: '#ab86f6',
    950: '#000000',
  },
}
SCSS
$custom: #ab86f6;
$custom-light: #c7aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86f6",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 259.821,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70173,
    "c": 0.16194,
    "h": 297.3
  },
  "luminance": 0.32362
}

Semantic roles & 50–950 ramp

primary
#AB86F6
secondary
#EBF5D6
accent
#E30399
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB86F6

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

Preview Lab → · Contrast checker → · Palette generator →

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