#A786FC#A786FC
#A786FC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.169 H 294.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A786FC |
|---|---|
| RGB | rgb(167, 134, 252) |
| HSL | hsl(257, 95%, 76%) |
| HSV | hsv(257, 47%, 99%) |
| CMYK | cmyk(33.7%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(63.58, 37.89, -54.63) |
| CIE-LCH | lch(63.58, 66.48, 304.74°) |
| OKLab | oklab(70.14% 0.0702 -0.154) |
| OKLCH | oklch(70.14% 0.169 294.5) |
| XYZ | xyz(42.0277, 32.2932, 96.0955) |
| Luminance | 0.3229 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.87
Lavender Blue
#8B88F8
ΔE00 5.76
Liliac
#C48EFD
ΔE00 5.86
Perrywinkle
#8F8CE7
ΔE00 6.12
Light Purple
#BF77F6
ΔE00 6.46
Light Urple
#B36FF6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786FC #DBFC86
analogous
#86A0FC #A786FC #E286FC
triadic
#A786FC #FCA786 #86FCA7
tetradic
#A786FC #FC86A0 #DBFC86 #86FCE2
square
#A786FC #FC86A0 #DBFC86 #86FCE2
split-complementary
#A786FC #FCE286 #A0FC86
monochromatic
#500FF9 #7C4AFB #A786FC #D2C2FD #E9E1FE
Accessibility & contrast
On white
2.82
#A786FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#A786FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786FC
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786FC | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#939DB5
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a786fc; /* rgb */ color: rgb(167, 134, 252); /* oklch */ color: oklch(70.1% 0.169 294.5);
Tailwind
colors: {
custom: {
50: '#c4aafe',
500: '#a786fc',
950: '#000000',
},
}SCSS
$custom: #a786fc; $custom-light: #c4aafe; $custom-dark: #000000;
JSON
{
"hex": "#a786fc",
"rgb": {
"r": 167,
"g": 134,
"b": 252
},
"hsl": {
"h": 256.78,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.70144,
"c": 0.16923,
"h": 294.5
},
"luminance": 0.32294
}Semantic roles & 50–950 ramp
primary
#A786FC
secondary
#EDF6D5
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86