#A686F7#A686F7

#A686F7 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.163 H 294.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A686F7
RGBrgb(166, 134, 247)
HSLhsl(257, 88%, 75%)
HSVhsv(257, 46%, 97%)
CMYKcmyk(32.8%, 45.7%, 0%, 3.1%)
CIE-LABlab(63.24, 36.36, -52.44)
CIE-LCHlch(63.24, 63.81, 304.74°)
OKLaboklab(69.78% 0.0685 -0.1476)
OKLCHoklch(69.78% 0.163 294.9)
XYZxyz(41.0353, 31.8719, 91.9676)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686F7 #D7F786
analogous
#869FF7 #A686F7 #DE86F7
triadic
#A686F7 #F7A686 #86F7A6
tetradic
#A686F7 #F7869F #D7F786 #86F7DE
square
#A686F7 #F7869F #D7F786 #86F7DE
split-complementary
#A686F7 #F7DE86 #9FF786
monochromatic
#5213EF #7C4DF3 #A686F7 #D0BFFB #EAE2FD

Accessibility & contrast

On white

2.85
#A686F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A686F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686F7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686F7#FFFFFF#000000##000000
##A686F71.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#949BB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a686f7;
/* rgb */ color: rgb(166, 134, 247);
/* oklch */ color: oklch(69.8% 0.163 294.9);
Tailwind
colors: {
  custom: {
    50: '#c3a9fa',
    500: '#a686f7',
    950: '#000000',
  },
}
SCSS
$custom: #a686f7;
$custom-light: #c3a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a686f7",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 256.991,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69778,
    "c": 0.1627,
    "h": 294.9
  },
  "luminance": 0.31873
}

Semantic roles & 50–950 ramp

primary
#A686F7
secondary
#ECF5D6
accent
#E401A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A686F7

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

Preview Lab → · Contrast checker → · Palette generator →

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