#A686EB#A686EB

#A686EB is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.1% C 0.147 H 297.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A686EB
RGBrgb(166, 134, 235)
HSLhsl(259, 72%, 72%)
HSVhsv(259, 43%, 92%)
CMYKcmyk(29.4%, 43%, 0%, 7.8%)
CIE-LABlab(62.64, 33.36, -46.77)
CIE-LCHlch(62.64, 57.45, 305.50°)
OKLaboklab(69.13% 0.0668 -0.1311)
OKLCHoklch(69.13% 0.147 297)
XYZxyz(39.2428, 31.1549, 82.5272)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686EB #CBEB86
analogous
#8699EB #A686EB #D986EB
triadic
#A686EB #EBA686 #86EBA6
tetradic
#A686EB #EB8699 #CBEB86 #86EBD9
square
#A686EB #EB8699 #CBEB86 #86EBD9
split-complementary
#A686EB #EBD986 #99EB86
monochromatic
#5B23D4 #7F51E2 #A686EB #CDBBF4 #ECE5FB

Accessibility & contrast

On white

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

On black

7.23
#A686EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686EB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686EB#FFFFFF#000000##000000
##A686EB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#9898AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a686eb;
/* rgb */ color: rgb(166, 134, 235);
/* oklch */ color: oklch(69.1% 0.147 297.0);
Tailwind
colors: {
  custom: {
    50: '#c3a9f2',
    500: '#a686eb',
    950: '#000000',
  },
}
SCSS
$custom: #a686eb;
$custom-light: #c3a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a686eb",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 259.01,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69132,
    "c": 0.14709,
    "h": 297
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

primary
#A686EB
secondary
#EAF2D9
accent
#D41296
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A686EB

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

Preview Lab → · Contrast checker → · Palette generator →

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