#A786DC#A786DC
#A786DC is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.5% C 0.128 H 300.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A786DC |
|---|---|
| RGB | rgb(167, 134, 220) |
| HSL | hsl(263, 55%, 69%) |
| HSV | hsv(263, 39%, 86%) |
| CMYK | cmyk(24.1%, 39.1%, 0%, 13.7%) |
| CIE-LAB | lab(62.03, 30.00, -39.39) |
| CIE-LCH | lch(62.03, 49.52, 307.29°) |
| OKLab | oklab(68.46% 0.0653 -0.1097) |
| OKLCH | oklch(68.46% 0.128 300.8) |
| XYZ | xyz(37.3769, 30.4329, 71.6013) |
| Luminance | 0.3043 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.51
Wisteria
#A87DC2
ΔE00 5.69
Liliac
#C48EFD
ΔE00 6.52
Light Purple
#BF77F6
ΔE00 7.07
Perrywinkle
#8F8CE7
ΔE00 7.12
Lavender
#B39DDB
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786DC #BBDC86
analogous
#8690DC #A786DC #D286DC
triadic
#A786DC #DCA786 #86DCA7
tetradic
#A786DC #DC8690 #BBDC86 #86DCD2
square
#A786DC #DC8690 #BBDC86 #86DCD2
split-complementary
#A786DC #DCD286 #90DC86
monochromatic
#6534B4 #8457CE #A786DC #CAB5EA #ECE5F7
Accessibility & contrast
On white
2.96
#A786DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#A786DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786DC
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786DC | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7795DA
Tritanopia (blue-blind)
#9D94A7
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a786dc; /* rgb */ color: rgb(167, 134, 220); /* oklch */ color: oklch(68.5% 0.128 300.8);
Tailwind
colors: {
custom: {
50: '#c3a9e7',
500: '#a786dc',
950: '#000000',
},
}SCSS
$custom: #a786dc; $custom-light: #c3a9e7; $custom-dark: #000000;
JSON
{
"hex": "#a786dc",
"rgb": {
"r": 167,
"g": 134,
"b": 220
},
"hsl": {
"h": 263.023,
"s": 55.128,
"l": 69.412
},
"oklch": {
"l": 0.68461,
"c": 0.12761,
"h": 300.8
},
"luminance": 0.30433
}Semantic roles & 50–950 ramp
primary
#A786DC
secondary
#E2EBD3
accent
#C32385
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84