#AB86F8#AB86F8

#AB86F8 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.165 H 296.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AB86F8
RGBrgb(171, 134, 248)
HSLhsl(259, 89%, 75%)
HSVhsv(259, 46%, 97%)
CMYKcmyk(31%, 46%, 0%, 2.7%)
CIE-LABlab(63.74, 37.90, -52.16)
CIE-LCHlch(63.74, 64.48, 306.01°)
OKLaboklab(70.28% 0.0745 -0.1467)
OKLCHoklch(70.28% 0.165 296.9)
XYZxyz(42.2588, 32.4849, 92.8326)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB86F8 #D3F886
analogous
#869AF8 #AB86F8 #E486F8
triadic
#AB86F8 #F8AB86 #86F8AB
tetradic
#AB86F8 #F8869A #D3F886 #86F8E4
square
#AB86F8 #F8869A #D3F886 #86F8E4
split-complementary
#AB86F8 #F8E486 #9AF886
monochromatic
#5B12F1 #834CF5 #AB86F8 #D3C0FB #EBE2FD

Accessibility & contrast

On white

2.80
#AB86F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AB86F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB86F8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB86F8#FFFFFF#000000##000000
##AB86F81.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#9A9BB3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab86f8;
/* rgb */ color: rgb(171, 134, 248);
/* oklch */ color: oklch(70.3% 0.165 296.9);
Tailwind
colors: {
  custom: {
    50: '#c7aafb',
    500: '#ab86f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab86f8;
$custom-light: #c7aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab86f8",
  "rgb": {
    "r": 171,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 259.474,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.1645,
    "h": 296.9
  },
  "luminance": 0.32485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB86F8

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

Preview Lab → · Contrast checker → · Palette generator →

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