#AB86F7#AB86F7

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

Color values

HEX#AB86F7
RGBrgb(171, 134, 247)
HSLhsl(260, 88%, 75%)
HSVhsv(260, 46%, 97%)
CMYKcmyk(30.8%, 45.7%, 0%, 3.1%)
CIE-LABlab(63.69, 37.66, -51.69)
CIE-LCHlch(63.69, 63.95, 306.07°)
OKLaboklab(70.23% 0.0744 -0.1453)
OKLCHoklch(70.23% 0.163 297.1)
XYZxyz(42.1041, 32.4230, 92.0177)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86F7 #D2F786
analogous
#869AF7 #AB86F7 #E486F7
triadic
#AB86F7 #F7AB86 #86F7AB
tetradic
#AB86F7 #F7869A #D2F786 #86F7E4
square
#AB86F7 #F7869A #D2F786 #86F7E4
split-complementary
#AB86F7 #F7E486 #9AF786
monochromatic
#5B13EF #834DF3 #AB86F7 #D3BFFB #EBE2FD

Accessibility & contrast

On white

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

On black

7.48
#AB86F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86F7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86F7#FFFFFF#000000##000000
##AB86F71.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#9B9BB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab86f7;
/* rgb */ color: rgb(171, 134, 247);
/* oklch */ color: oklch(70.2% 0.163 297.1);
Tailwind
colors: {
  custom: {
    50: '#c7aafa',
    500: '#ab86f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab86f7;
$custom-light: #c7aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86f7",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 259.646,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70227,
    "c": 0.16322,
    "h": 297.1
  },
  "luminance": 0.32424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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