#A786EA#A786EA
#A786EA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.146 H 297.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A786EA |
|---|---|
| RGB | rgb(167, 134, 234) |
| HSL | hsl(260, 70%, 72%) |
| HSV | hsv(260, 43%, 92%) |
| CMYK | cmyk(28.6%, 42.7%, 0%, 8.2%) |
| CIE-LAB | lab(62.68, 33.38, -46.14) |
| CIE-LCH | lch(62.68, 56.95, 305.89°) |
| OKLab | oklab(69.17% 0.0678 -0.1292) |
| OKLCH | oklch(69.17% 0.146 297.7) |
| XYZ | xyz(39.3092, 31.2058, 81.7783) |
| Luminance | 0.3121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.64
Perrywinkle
#8F8CE7
ΔE00 6.08
Light Purple
#BF77F6
ΔE00 6.25
Periwinkle (survey)
#8E82FE
ΔE00 6.56
Light Urple
#B36FF6
ΔE00 6.68
Lavender Blue
#8B88F8
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786EA #C9EA86
analogous
#8697EA #A786EA #D986EA
triadic
#A786EA #EAA786 #86EAA7
tetradic
#A786EA #EA8697 #C9EA86 #86EAD9
square
#A786EA #EA8697 #C9EA86 #86EAD9
split-complementary
#A786EA #EAD986 #97EA86
monochromatic
#5D24D1 #8152E1 #A786EA #CDBAF3 #ECE5FA
Accessibility & contrast
On white
2.90
#A786EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#A786EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786EA
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786EA | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#6F97E7
Tritanopia (blue-blind)
#9998AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a786ea; /* rgb */ color: rgb(167, 134, 234); /* oklch */ color: oklch(69.2% 0.146 297.7);
Tailwind
colors: {
custom: {
50: '#c3a9f1',
500: '#a786ea',
950: '#000000',
},
}SCSS
$custom: #a786ea; $custom-light: #c3a9f1; $custom-dark: #000000;
JSON
{
"hex": "#a786ea",
"rgb": {
"r": 167,
"g": 134,
"b": 234
},
"hsl": {
"h": 259.8,
"s": 70.423,
"l": 72.157
},
"oklch": {
"l": 0.69171,
"c": 0.14592,
"h": 297.7
},
"luminance": 0.31206
}Semantic roles & 50–950 ramp
primary
#A786EA
secondary
#EAF2D9
accent
#D21393
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85