#A78EFA#A78EFA
#A78EFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.155 H 292.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A78EFA |
|---|---|
| RGB | rgb(167, 142, 250) |
| HSL | hsl(254, 92%, 77%) |
| HSV | hsv(254, 43%, 98%) |
| CMYK | cmyk(33.2%, 43.2%, 0%, 2%) |
| CIE-LAB | lab(65.33, 32.87, -50.77) |
| CIE-LCH | lch(65.33, 60.48, 302.92°) |
| OKLab | oklab(71.42% 0.0597 -0.1427) |
| OKLCH | oklch(71.42% 0.155 292.7) |
| XYZ | xyz(42.8602, 34.4628, 94.8178) |
| Luminance | 0.3446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.16
Lavender Blue
#8B88F8
ΔE00 5.52
Periwinkle (survey)
#8E82FE
ΔE00 5.52
Liliac
#C48EFD
ΔE00 5.85
Periwinkle Blue
#8F99FB
ΔE00 7.07
Pastel Purple
#CAA0FF
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78EFA #E1FA8E
analogous
#8EABFA #A78EFA #DD8EFA
triadic
#A78EFA #FAA78E #8EFAA7
tetradic
#A78EFA #FA8EAB #E1FA8E #8EFADD
square
#A78EFA #FA8EAB #E1FA8E #8EFADD
split-complementary
#A78EFA #FADD8E #ABFA8E
monochromatic
#4C19F5 #7953F7 #A78EFA #D5C9FD #E8E2FE
Accessibility & contrast
On white
2.66
#A78EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A78EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A78EFA
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78EFA | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#6E9DF7
Tritanopia (blue-blind)
#93A2B8
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a78efa; /* rgb */ color: rgb(167, 142, 250); /* oklch */ color: oklch(71.4% 0.155 292.7);
Tailwind
colors: {
custom: {
50: '#c4affc',
500: '#a78efa',
950: '#000000',
},
}SCSS
$custom: #a78efa; $custom-light: #c4affc; $custom-dark: #000000;
JSON
{
"hex": "#a78efa",
"rgb": {
"r": 167,
"g": 142,
"b": 250
},
"hsl": {
"h": 253.889,
"s": 91.525,
"l": 76.863
},
"oklch": {
"l": 0.71424,
"c": 0.15467,
"h": 292.7
},
"luminance": 0.34464
}Semantic roles & 50–950 ramp
primary
#A78EFA
secondary
#EEF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85