#A78CE8#A78CE8
#A78CE8 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.1% C 0.134 H 296.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A78CE8 |
|---|---|
| RGB | rgb(167, 140, 232) |
| HSL | hsl(258, 67%, 73%) |
| HSV | hsv(258, 40%, 91%) |
| CMYK | cmyk(28%, 39.7%, 0%, 9%) |
| CIE-LAB | lab(64.00, 29.50, -42.96) |
| CIE-LCH | lch(64.00, 52.11, 304.47°) |
| OKLab | oklab(70.14% 0.0593 -0.12) |
| OKLCH | oklch(70.14% 0.134 296.3) |
| XYZ | xyz(39.8764, 32.7974, 80.5579) |
| Luminance | 0.3280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.50
Liliac
#C48EFD
ΔE00 5.77
Pale Purple
#B790D4
ΔE00 6.71
Lavender
#B39DDB
ΔE00 7.01
Lavender Blue
#8B88F8
ΔE00 7.05
Baby Purple
#CA9BF7
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78CE8 #CDE88C
analogous
#8C9FE8 #A78CE8 #D58CE8
triadic
#A78CE8 #E8A78C #8CE8A7
tetradic
#A78CE8 #E88C9F #CDE88C #8CE8D5
square
#A78CE8 #E88C9F #CDE88C #8CE8D5
split-complementary
#A78CE8 #E8D58C #9FE88C
monochromatic
#5A2AD0 #8059DE #A78CE8 #CEBFF2 #EBE5FA
Accessibility & contrast
On white
2.78
#A78CE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#A78CE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A78CE8
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78CE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78CE8 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729CEC
Deuteranopia (green-blind)
#779AE6
Tritanopia (blue-blind)
#999CAF
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a78ce8; /* rgb */ color: rgb(167, 140, 232); /* oklch */ color: oklch(70.1% 0.134 296.3);
Tailwind
colors: {
custom: {
50: '#c3aeef',
500: '#a78ce8',
950: '#000000',
},
}SCSS
$custom: #a78ce8; $custom-light: #c3aeef; $custom-dark: #000000;
JSON
{
"hex": "#a78ce8",
"rgb": {
"r": 167,
"g": 140,
"b": 232
},
"hsl": {
"h": 257.609,
"s": 66.667,
"l": 72.941
},
"oklch": {
"l": 0.70135,
"c": 0.13386,
"h": 296.3
},
"luminance": 0.32798
}Semantic roles & 50–950 ramp
primary
#A78CE8
secondary
#EAF1DA
accent
#CF1799
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84