#A686EC#A686EC

#A686EC is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.148 H 296.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A686EC
RGBrgb(166, 134, 236)
HSLhsl(259, 73%, 73%)
HSVhsv(259, 43%, 93%)
CMYKcmyk(29.7%, 43.2%, 0%, 7.5%)
CIE-LABlab(62.69, 33.60, -47.24)
CIE-LCHlch(62.69, 57.98, 305.42°)
OKLaboklab(69.19% 0.0669 -0.1325)
OKLCHoklch(69.19% 0.148 296.8)
XYZxyz(39.3876, 31.2129, 83.2902)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686EC #CCEC86
analogous
#8699EC #A686EC #D986EC
triadic
#A686EC #ECA686 #86ECA6
tetradic
#A686EC #EC8699 #CCEC86 #86ECD9
square
#A686EC #EC8699 #CCEC86 #86ECD9
split-complementary
#A686EC #ECD986 #99EC86
monochromatic
#5A22D6 #7F51E4 #A686EC #CDBBF4 #ECE5FB

Accessibility & contrast

On white

2.90
#A686EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A686EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686EC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686EC#FFFFFF#000000##000000
##A686EC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#9798AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a686ec;
/* rgb */ color: rgb(166, 134, 236);
/* oklch */ color: oklch(69.2% 0.148 296.8);
Tailwind
colors: {
  custom: {
    50: '#c3a9f2',
    500: '#a686ec',
    950: '#000000',
  },
}
SCSS
$custom: #a686ec;
$custom-light: #c3a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a686ec",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 258.824,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69185,
    "c": 0.14839,
    "h": 296.8
  },
  "luminance": 0.31213
}

Semantic roles & 50–950 ramp

primary
#A686EC
secondary
#EAF3D8
accent
#D51197
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A686EC

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

Preview Lab → · Contrast checker → · Palette generator →

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