#A686DF#A686DF

#A686DF is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.5% C 0.131 H 299.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A686DF
RGBrgb(166, 134, 223)
HSLhsl(262, 58%, 70%)
HSVhsv(262, 40%, 87%)
CMYKcmyk(25.6%, 39.9%, 0%, 12.5%)
CIE-LABlab(62.07, 30.43, -41.00)
CIE-LCHlch(62.07, 51.06, 306.58°)
OKLaboklab(68.52% 0.0647 -0.1143)
OKLCHoklch(68.52% 0.131 299.5)
XYZxyz(37.5672, 30.4847, 73.7027)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686DF #BFDF86
analogous
#8693DF #A686DF #D286DF
triadic
#A686DF #DFA686 #86DFA6
tetradic
#A686DF #DF8693 #BFDF86 #86DFD2
square
#A686DF #DF8693 #BFDF86 #86DFD2
split-complementary
#A686DF #DFD286 #93DF86
monochromatic
#6231BA #8256D2 #A686DF #CAB6EC #EDE7F9

Accessibility & contrast

On white

2.96
#A686DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A686DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686DF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686DF#FFFFFF#000000##000000
##A686DF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7595DD
Tritanopia (blue-blind)
#9B95A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a686df;
/* rgb */ color: rgb(166, 134, 223);
/* oklch */ color: oklch(68.5% 0.131 299.5);
Tailwind
colors: {
  custom: {
    50: '#c2a9e9',
    500: '#a686df',
    950: '#000000',
  },
}
SCSS
$custom: #a686df;
$custom-light: #c2a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a686df",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 261.573,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.68517,
    "c": 0.13135,
    "h": 299.5
  },
  "luminance": 0.30485
}

Semantic roles & 50–950 ramp

primary
#A686DF
secondary
#E4EDD4
accent
#C6208A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A686DF

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

Preview Lab → · Contrast checker → · Palette generator →

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