#A786FD#A786FD
#A786FD is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.171 H 294.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A786FD |
|---|---|
| RGB | rgb(167, 134, 253) |
| HSL | hsl(257, 97%, 76%) |
| HSV | hsv(257, 47%, 99%) |
| CMYK | cmyk(34%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(63.64, 38.14, -55.09) |
| CIE-LCH | lch(63.64, 67.01, 304.69°) |
| OKLab | oklab(70.2% 0.0704 -0.1553) |
| OKLCH | oklch(70.2% 0.171 294.4) |
| XYZ | xyz(42.1865, 32.3568, 96.9323) |
| Luminance | 0.3236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.82
Lavender Blue
#8B88F8
ΔE00 5.73
Liliac
#C48EFD
ΔE00 5.90
Perrywinkle
#8F8CE7
ΔE00 6.16
Light Purple
#BF77F6
ΔE00 6.51
Light Urple
#B36FF6
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786FD #DCFD86
analogous
#86A0FD #A786FD #E386FD
triadic
#A786FD #FDA786 #86FDA7
tetradic
#A786FD #FD86A0 #DCFD86 #86FDE3
square
#A786FD #FD86A0 #DCFD86 #86FDE3
split-complementary
#A786FD #FDE386 #A0FD86
monochromatic
#4F0EFB #7B4AFC #A786FD #D3C2FE #E9E1FF
Accessibility & contrast
On white
2.81
#A786FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#A786FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786FD
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786FD | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#939DB6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a786fd; /* rgb */ color: rgb(167, 134, 253); /* oklch */ color: oklch(70.2% 0.171 294.4);
Tailwind
colors: {
custom: {
50: '#c4aafe',
500: '#a786fd',
950: '#000000',
},
}SCSS
$custom: #a786fd; $custom-light: #c4aafe; $custom-dark: #000000;
JSON
{
"hex": "#a786fd",
"rgb": {
"r": 167,
"g": 134,
"b": 253
},
"hsl": {
"h": 256.639,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.70201,
"c": 0.17052,
"h": 294.4
},
"luminance": 0.32358
}Semantic roles & 50–950 ramp
primary
#A786FD
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86