#A786FE#A786FE
#A786FE is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.3% C 0.172 H 294.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A786FE |
|---|---|
| RGB | rgb(167, 134, 254) |
| HSL | hsl(257, 98%, 76%) |
| HSV | hsv(257, 47%, 100%) |
| CMYK | cmyk(34.3%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(63.69, 38.39, -55.56) |
| CIE-LCH | lch(63.69, 67.53, 304.65°) |
| OKLab | oklab(70.26% 0.0705 -0.1567) |
| OKLCH | oklch(70.26% 0.172 294.2) |
| XYZ | xyz(42.3463, 32.4206, 97.7735) |
| Luminance | 0.3242 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.78
Lavender Blue
#8B88F8
ΔE00 5.71
Liliac
#C48EFD
ΔE00 5.95
Perrywinkle
#8F8CE7
ΔE00 6.21
Light Purple
#BF77F6
ΔE00 6.55
Light Urple
#B36FF6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786FE #DDFE86
analogous
#86A1FE #A786FE #E386FE
triadic
#A786FE #FEA786 #86FEA7
tetradic
#A786FE #FE86A1 #DDFE86 #86FEE3
square
#A786FE #FE86A1 #DDFE86 #86FEE3
split-complementary
#A786FE #FEE386 #A1FE86
monochromatic
#4F0DFD #7B49FD #A786FE #D3C3FF #E9E1FF
Accessibility & contrast
On white
2.81
#A786FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#A786FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786FE
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786FE | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#939DB6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a786fe; /* rgb */ color: rgb(167, 134, 254); /* oklch */ color: oklch(70.3% 0.172 294.2);
Tailwind
colors: {
custom: {
50: '#c5aaff',
500: '#a786fe',
950: '#000000',
},
}SCSS
$custom: #a786fe; $custom-light: #c5aaff; $custom-dark: #000000;
JSON
{
"hex": "#a786fe",
"rgb": {
"r": 167,
"g": 134,
"b": 254
},
"hsl": {
"h": 256.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.70257,
"c": 0.1718,
"h": 294.2
},
"luminance": 0.32421
}Semantic roles & 50–950 ramp
primary
#A786FE
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86