#A686E1#A686E1

#A686E1 is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.6% C 0.134 H 299.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A686E1
RGBrgb(166, 134, 225)
HSLhsl(261, 60%, 70%)
HSVhsv(261, 40%, 88%)
CMYKcmyk(26.2%, 40.4%, 0%, 11.8%)
CIE-LABlab(62.16, 30.91, -41.97)
CIE-LCHlch(62.16, 52.12, 306.37°)
OKLaboklab(68.62% 0.065 -0.1171)
OKLCHoklch(68.62% 0.134 299)
XYZxyz(37.8385, 30.5932, 75.1312)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686E1 #C1E186
analogous
#8693E1 #A686E1 #D386E1
triadic
#A686E1 #E1A686 #86E1A6
tetradic
#A686E1 #E18693 #C1E186 #86E1D3
square
#A686E1 #E18693 #C1E186 #86E1D3
split-complementary
#A686E1 #E1D386 #93E186
monochromatic
#612FBE #8255D5 #A686E1 #CAB7ED #EDE6F9

Accessibility & contrast

On white

2.95
#A686E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A686E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686E1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686E1#FFFFFF#000000##000000
##A686E11.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E4
Deuteranopia (green-blind)
#7496DF
Tritanopia (blue-blind)
#9B96A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a686e1;
/* rgb */ color: rgb(166, 134, 225);
/* oklch */ color: oklch(68.6% 0.134 299.0);
Tailwind
colors: {
  custom: {
    50: '#c2a9eb',
    500: '#a686e1',
    950: '#000000',
  },
}
SCSS
$custom: #a686e1;
$custom-light: #c2a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a686e1",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 225
  },
  "hsl": {
    "h": 261.099,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.13398,
    "h": 299
  },
  "luminance": 0.30593
}

Semantic roles & 50–950 ramp

primary
#A686E1
secondary
#E5EED5
accent
#C81E8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A686E1

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

Preview Lab → · Contrast checker → · Palette generator →

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