#A686F2#A686F2

#A686F2 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.156 H 295.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A686F2
RGBrgb(166, 134, 242)
HSLhsl(258, 81%, 74%)
HSVhsv(258, 45%, 95%)
CMYKcmyk(31.4%, 44.6%, 0%, 5.1%)
CIE-LABlab(62.98, 35.10, -50.09)
CIE-LCHlch(62.98, 61.16, 305.02°)
OKLaboklab(69.51% 0.0678 -0.1407)
OKLCHoklch(69.51% 0.156 295.7)
XYZxyz(40.2740, 31.5674, 87.9585)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A686F2 #D2F286
analogous
#869CF2 #A686F2 #DC86F2
triadic
#A686F2 #F2A686 #86F2A6
tetradic
#A686F2 #F2869C #D2F286 #86F2DC
square
#A686F2 #F2869C #D2F286 #86F2DC
split-complementary
#A686F2 #F2DC86 #9CF286
monochromatic
#5519E5 #7D4FEC #A686F2 #CFBDF8 #EBE3FC

Accessibility & contrast

On white

2.87
#A686F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A686F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A686F2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A686F2#FFFFFF#000000##000000
##A686F21.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#959AB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a686f2;
/* rgb */ color: rgb(166, 134, 242);
/* oklch */ color: oklch(69.5% 0.156 295.7);
Tailwind
colors: {
  custom: {
    50: '#c3a9f7',
    500: '#a686f2',
    950: '#000000',
  },
}
SCSS
$custom: #a686f2;
$custom-light: #c3a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a686f2",
  "rgb": {
    "r": 166,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 257.778,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69505,
    "c": 0.15622,
    "h": 295.7
  },
  "luminance": 0.31568
}

Semantic roles & 50–950 ramp

primary
#A686F2
secondary
#EBF4D7
accent
#DD099E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A686F2

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

Preview Lab → · Contrast checker → · Palette generator →

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