#A786EB#A786EB
#A786EB is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.2% C 0.147 H 297.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A786EB |
|---|---|
| RGB | rgb(167, 134, 235) |
| HSL | hsl(260, 72%, 72%) |
| HSV | hsv(260, 43%, 92%) |
| CMYK | cmyk(28.9%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(62.73, 33.63, -46.62) |
| CIE-LCH | lch(62.73, 57.48, 305.81°) |
| OKLab | oklab(69.22% 0.0679 -0.1306) |
| OKLCH | oklch(69.22% 0.147 297.5) |
| XYZ | xyz(39.4533, 31.2634, 82.5370) |
| Luminance | 0.3126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.62
Perrywinkle
#8F8CE7
ΔE00 6.04
Light Purple
#BF77F6
ΔE00 6.22
Periwinkle (survey)
#8E82FE
ΔE00 6.43
Light Urple
#B36FF6
ΔE00 6.63
Lavender Blue
#8B88F8
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786EB #CAEB86
analogous
#8698EB #A786EB #DA86EB
triadic
#A786EB #EBA786 #86EBA7
tetradic
#A786EB #EB8698 #CAEB86 #86EBDA
square
#A786EB #EB8698 #CAEB86 #86EBDA
split-complementary
#A786EB #EBDA86 #98EB86
monochromatic
#5D23D4 #8151E2 #A786EB #CDBBF4 #ECE5FB
Accessibility & contrast
On white
2.90
#A786EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#A786EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A786EB
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786EB | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#9998AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a786eb; /* rgb */ color: rgb(167, 134, 235); /* oklch */ color: oklch(69.2% 0.147 297.5);
Tailwind
colors: {
custom: {
50: '#c3a9f2',
500: '#a786eb',
950: '#000000',
},
}SCSS
$custom: #a786eb; $custom-light: #c3a9f2; $custom-dark: #000000;
JSON
{
"hex": "#a786eb",
"rgb": {
"r": 167,
"g": 134,
"b": 235
},
"hsl": {
"h": 259.604,
"s": 71.631,
"l": 72.353
},
"oklch": {
"l": 0.69223,
"c": 0.14722,
"h": 297.5
},
"luminance": 0.31264
}Semantic roles & 50–950 ramp
primary
#A786EB
secondary
#EAF2D9
accent
#D41294
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85