#A686EF#A686EF

#A686EF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.152 H 296.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A686EF
RGBrgb(166, 134, 239)
HSLhsl(258, 77%, 73%)
HSVhsv(258, 44%, 94%)
CMYKcmyk(30.5%, 43.9%, 0%, 6.3%)
CIE-LABlab(62.83, 34.35, -48.67)
CIE-LCHlch(62.83, 59.57, 305.21°)
OKLaboklab(69.34% 0.0674 -0.1366)
OKLCHoklch(69.34% 0.152 296.2)
XYZxyz(39.8272, 31.3887, 85.6049)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686EF #CFEF86
analogous
#869AEF #A686EF #DB86EF
triadic
#A686EF #EFA686 #86EFA6
tetradic
#A686EF #EF869A #CFEF86 #86EFDB
square
#A686EF #EF869A #CFEF86 #86EFDB
split-complementary
#A686EF #EFDB86 #9AEF86
monochromatic
#581DDD #7E50E8 #A686EF #CEBCF6 #EBE4FB

Accessibility & contrast

On white

2.89
#A686EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A686EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686EF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686EF#FFFFFF#000000##000000
##A686EF1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6B97EC
Tritanopia (blue-blind)
#9699AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a686ef;
/* rgb */ color: rgb(166, 134, 239);
/* oklch */ color: oklch(69.3% 0.152 296.2);
Tailwind
colors: {
  custom: {
    50: '#c3a9f5',
    500: '#a686ef',
    950: '#000000',
  },
}
SCSS
$custom: #a686ef;
$custom-light: #c3a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a686ef",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 258.286,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.15231,
    "h": 296.2
  },
  "luminance": 0.31389
}

Semantic roles & 50–950 ramp

primary
#A686EF
secondary
#EBF3D8
accent
#D90D9B
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A686EF

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

Preview Lab → · Contrast checker → · Palette generator →

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