#A686DC#A686DC

#A686DC is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.4% C 0.127 H 300.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A686DC
RGBrgb(166, 134, 220)
HSLhsl(262, 55%, 69%)
HSVhsv(262, 39%, 86%)
CMYKcmyk(24.5%, 39.1%, 0%, 13.7%)
CIE-LABlab(61.93, 29.71, -39.55)
CIE-LCHlch(61.93, 49.46, 306.92°)
OKLaboklab(68.37% 0.0641 -0.1101)
OKLCHoklch(68.37% 0.127 300.2)
XYZxyz(37.1664, 30.3243, 71.5914)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686DC #BCDC86
analogous
#8691DC #A686DC #D186DC
triadic
#A686DC #DCA686 #86DCA6
tetradic
#A686DC #DC8691 #BCDC86 #86DCD1
square
#A686DC #DC8691 #BCDC86 #86DCD1
split-complementary
#A686DC #DCD186 #91DC86
monochromatic
#6334B4 #8357CE #A686DC #C9B5EA #ECE5F7

Accessibility & contrast

On white

2.97
#A686DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A686DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686DC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686DC#FFFFFF#000000##000000
##A686DC1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#9C94A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a686dc;
/* rgb */ color: rgb(166, 134, 220);
/* oklch */ color: oklch(68.4% 0.127 300.2);
Tailwind
colors: {
  custom: {
    50: '#c2a9e7',
    500: '#a686dc',
    950: '#000000',
  },
}
SCSS
$custom: #a686dc;
$custom-light: #c2a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a686dc",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 262.326,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68368,
    "c": 0.12741,
    "h": 300.2
  },
  "luminance": 0.30324
}

Semantic roles & 50–950 ramp

primary
#A686DC
secondary
#E2EBD3
accent
#C32387
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A686DC

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

Preview Lab → · Contrast checker → · Palette generator →

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