#A686FC#A686FC

#A686FC is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.1% C 0.169 H 294.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A686FC
RGBrgb(166, 134, 252)
HSLhsl(256, 95%, 76%)
HSVhsv(256, 47%, 99%)
CMYKcmyk(34.1%, 46.8%, 0%, 1.2%)
CIE-LABlab(63.50, 37.63, -54.77)
CIE-LCHlch(63.50, 66.46, 304.49°)
OKLaboklab(70.06% 0.0691 -0.1544)
OKLCHoklch(70.06% 0.169 294.1)
XYZxyz(41.8172, 32.1847, 96.0857)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686FC #DCFC86
analogous
#86A1FC #A686FC #E186FC
triadic
#A686FC #FCA686 #86FCA6
tetradic
#A686FC #FC86A1 #DCFC86 #86FCE1
square
#A686FC #FC86A1 #DCFC86 #86FCE1
split-complementary
#A686FC #FCE186 #A1FC86
monochromatic
#4E0FF9 #7A4AFB #A686FC #D2C2FD #E9E1FE

Accessibility & contrast

On white

2.82
#A686FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#A686FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686FC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686FC#FFFFFF#000000##000000
##A686FC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#929DB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a686fc;
/* rgb */ color: rgb(166, 134, 252);
/* oklch */ color: oklch(70.1% 0.169 294.1);
Tailwind
colors: {
  custom: {
    50: '#c4aafe',
    500: '#a686fc',
    950: '#000000',
  },
}
SCSS
$custom: #a686fc;
$custom-light: #c4aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a686fc",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 256.271,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70056,
    "c": 0.16916,
    "h": 294.1
  },
  "luminance": 0.32185
}

Semantic roles & 50–950 ramp

primary
#A686FC
secondary
#EDF6D5
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A686FC

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

Preview Lab → · Contrast checker → · Palette generator →

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