#A86AFE#A86AFE

#A86AFE is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 65.9% C 0.212 H 299.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A86AFE
RGBrgb(168, 106, 254)
HSLhsl(265, 99%, 71%)
HSVhsv(265, 58%, 100%)
CMYKcmyk(33.9%, 58.3%, 0%, 0.4%)
CIE-LABlab(57.84, 53.88, -64.91)
CIE-LCHlch(57.84, 84.36, 309.69°)
OKLaboklab(65.94% 0.1059 -0.1841)
OKLCHoklch(65.94% 0.212 299.9)
XYZxyz(39.1875, 25.7883, 96.6598)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A86AFE #C0FE6A
analogous
#6A76FE #A86AFE #F26AFE
triadic
#A86AFE #FEA86A #6AFEA8
tetradic
#A86AFE #FE6A76 #C0FE6A #6AFEF2
square
#A86AFE #FE6A76 #C0FE6A #6AFEF2
split-complementary
#A86AFE #FEF26A #76FE6A
monochromatic
#6402EC #852DFE #A86AFE #CBA7FE #EDE1FF

Accessibility & contrast

On white

3.41
#A86AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A86AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A86AFE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A86AFE#FFFFFF#000000##000000
##A86AFE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#178BFF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#9689AA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a86afe;
/* rgb */ color: rgb(168, 106, 254);
/* oklch */ color: oklch(65.9% 0.212 299.9);
Tailwind
colors: {
  custom: {
    50: '#c697ff',
    500: '#a86afe',
    950: '#000000',
  },
}
SCSS
$custom: #a86afe;
$custom-light: #c697ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a86afe",
  "rgb": {
    "r": 168,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 265.135,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.21237,
    "h": 299.9
  },
  "luminance": 0.25789
}

Semantic roles & 50–950 ramp

primary
#A86AFE
secondary
#E5F6CE
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A86AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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