#A78EE7#A78EE7
#A78EE7 is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.4% C 0.129 H 295.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A78EE7 |
|---|---|
| RGB | rgb(167, 142, 231) |
| HSL | hsl(257, 65%, 73%) |
| HSV | hsv(257, 39%, 91%) |
| CMYK | cmyk(27.7%, 38.5%, 0%, 9.4%) |
| CIE-LAB | lab(64.43, 28.12, -41.73) |
| CIE-LCH | lch(64.43, 50.32, 303.97°) |
| OKLab | oklab(70.45% 0.0564 -0.1164) |
| OKLCH | oklch(70.45% 0.129 295.8) |
| XYZ | xyz(40.0297, 33.3305, 79.9103) |
| Luminance | 0.3333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.44
Liliac
#C48EFD
ΔE00 5.98
Lavender
#B39DDB
ΔE00 6.46
Pale Purple
#B790D4
ΔE00 6.49
Baby Purple
#CA9BF7
ΔE00 7.01
Lavender Blue
#8B88F8
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78EE7 #CEE78E
analogous
#8EA1E7 #A78EE7 #D38EE7
triadic
#A78EE7 #E7A78E #8EE7A7
tetradic
#A78EE7 #E78EA1 #CEE78E #8EE7D3
square
#A78EE7 #E78EA1 #CEE78E #8EE7D3
split-complementary
#A78EE7 #E7D38E #A1E78E
monochromatic
#5A2CCF #805CDC #A78EE7 #CEC0F2 #EBE6FA
Accessibility & contrast
On white
2.74
#A78EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#A78EE7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A78EE7
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78EE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78EE7 | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769DEA
Deuteranopia (green-blind)
#799BE5
Tritanopia (blue-blind)
#9A9DB0
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a78ee7; /* rgb */ color: rgb(167, 142, 231); /* oklch */ color: oklch(70.4% 0.129 295.8);
Tailwind
colors: {
custom: {
50: '#c3afef',
500: '#a78ee7',
950: '#000000',
},
}SCSS
$custom: #a78ee7; $custom-light: #c3afef; $custom-dark: #000000;
JSON
{
"hex": "#a78ee7",
"rgb": {
"r": 167,
"g": 142,
"b": 231
},
"hsl": {
"h": 256.854,
"s": 64.964,
"l": 73.137
},
"oklch": {
"l": 0.70447,
"c": 0.12938,
"h": 295.8
},
"luminance": 0.33331
}Semantic roles & 50–950 ramp
primary
#A78EE7
secondary
#EBF1DA
accent
#CD199A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84