#A786FA#A786FA
#A786FA is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.167 H 294.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A786FA |
|---|---|
| RGB | rgb(167, 134, 250) |
| HSL | hsl(257, 92%, 75%) |
| HSV | hsv(257, 46%, 98%) |
| CMYK | cmyk(33.2%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(63.48, 37.38, -53.70) |
| CIE-LCH | lch(63.48, 65.42, 304.84°) |
| OKLab | oklab(70.03% 0.07 -0.1512) |
| OKLCH | oklch(70.03% 0.167 294.8) |
| XYZ | xyz(41.7124, 32.1671, 94.4352) |
| Luminance | 0.3217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.99
Liliac
#C48EFD
ΔE00 5.77
Lavender Blue
#8B88F8
ΔE00 5.83
Perrywinkle
#8F8CE7
ΔE00 6.05
Light Purple
#BF77F6
ΔE00 6.38
Light Urple
#B36FF6
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786FA #D9FA86
analogous
#869FFA #A786FA #E186FA
triadic
#A786FA #FAA786 #86FAA7
tetradic
#A786FA #FA869F #D9FA86 #86FAE1
square
#A786FA #FA869F #D9FA86 #86FAE1
split-complementary
#A786FA #FAE186 #9FFA86
monochromatic
#5210F5 #7C4BF8 #A786FA #D2C1FC #EAE2FE
Accessibility & contrast
On white
2.83
#A786FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#A786FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786FA
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786FA | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#949CB4
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a786fa; /* rgb */ color: rgb(167, 134, 250); /* oklch */ color: oklch(70.0% 0.167 294.8);
Tailwind
colors: {
custom: {
50: '#c4aafc',
500: '#a786fa',
950: '#000000',
},
}SCSS
$custom: #a786fa; $custom-light: #c4aafc; $custom-dark: #000000;
JSON
{
"hex": "#a786fa",
"rgb": {
"r": 167,
"g": 134,
"b": 250
},
"hsl": {
"h": 257.069,
"s": 92.063,
"l": 75.294
},
"oklch": {
"l": 0.70033,
"c": 0.16666,
"h": 294.8
},
"luminance": 0.32168
}Semantic roles & 50–950 ramp
primary
#A786FA
secondary
#EDF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85