#A686FE#A686FE

#A686FE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.2% C 0.172 H 293.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A686FE
RGBrgb(166, 134, 254)
HSLhsl(256, 98%, 76%)
HSVhsv(256, 47%, 100%)
CMYKcmyk(34.6%, 47.2%, 0%, 0.4%)
CIE-LABlab(63.60, 38.14, -55.70)
CIE-LCHlch(63.60, 67.51, 304.40°)
OKLaboklab(70.17% 0.0693 -0.1571)
OKLCHoklch(70.17% 0.172 293.8)
XYZxyz(42.1358, 32.3121, 97.7636)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686FE #DEFE86
analogous
#86A2FE #A686FE #E286FE
triadic
#A686FE #FEA686 #86FEA6
tetradic
#A686FE #FE86A2 #DEFE86 #86FEE2
square
#A686FE #FE86A2 #DEFE86 #86FEE2
split-complementary
#A686FE #FEE286 #A2FE86
monochromatic
#4D0DFD #7949FD #A686FE #D3C3FF #E9E1FF

Accessibility & contrast

On white

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

On black

7.46
#A686FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686FE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686FE#FFFFFF#000000##000000
##A686FE1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#919DB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a686fe;
/* rgb */ color: rgb(166, 134, 254);
/* oklch */ color: oklch(70.2% 0.172 293.8);
Tailwind
colors: {
  custom: {
    50: '#c4aaff',
    500: '#a686fe',
    950: '#000000',
  },
}
SCSS
$custom: #a686fe;
$custom-light: #c4aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a686fe",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 256,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.17173,
    "h": 293.8
  },
  "luminance": 0.32313
}

Semantic roles & 50–950 ramp

primary
#A686FE
secondary
#EEF7D4
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A686FE

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

Preview Lab → · Contrast checker → · Palette generator →

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