#A478E7#A478E7
#A478E7 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.163 H 300.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A478E7 |
|---|---|
| RGB | rgb(164, 120, 231) |
| HSL | hsl(264, 70%, 69%) |
| HSV | hsv(264, 48%, 91%) |
| CMYK | cmyk(29%, 48.1%, 0%, 9.4%) |
| CIE-LAB | lab(59.06, 39.71, -50.22) |
| CIE-LCH | lch(59.06, 64.02, 308.34°) |
| OKLab | oklab(66.34% 0.0825 -0.1412) |
| OKLCH | oklch(66.34% 0.163 300.3) |
| XYZ | xyz(36.4468, 27.0948, 78.8955) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.87
Mediumpurple
#9370DB
ΔE00 4.01
Light Purple
#BF77F6
ΔE00 5.05
Easter Purple
#C071FE
ΔE00 5.63
Periwinkle (survey)
#8E82FE
ΔE00 7.10
Lighter Purple
#A55AF4
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478E7 #BBE778
analogous
#7884E7 #A478E7 #DC78E7
triadic
#A478E7 #E7A478 #78E7A4
tetradic
#A478E7 #E77884 #BBE778 #78E7DC
square
#A478E7 #E77884 #BBE778 #78E7DC
split-complementary
#A478E7 #E7DC78 #84E778
monochromatic
#6223C2 #8144DE #A478E7 #C7ACF0 #EAE0F9
Accessibility & contrast
On white
3.27
#A478E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A478E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478E7
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478E7 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#608DE4
Tritanopia (blue-blind)
#978CA5
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a478e7; /* rgb */ color: rgb(164, 120, 231); /* oklch */ color: oklch(66.3% 0.163 300.3);
Tailwind
colors: {
custom: {
50: '#c2a0ef',
500: '#a478e7',
950: '#000000',
},
}SCSS
$custom: #a478e7; $custom-light: #c2a0ef; $custom-dark: #000000;
JSON
{
"hex": "#a478e7",
"rgb": {
"r": 164,
"g": 120,
"b": 231
},
"hsl": {
"h": 263.784,
"s": 69.811,
"l": 68.824
},
"oklch": {
"l": 0.66338,
"c": 0.16349,
"h": 300.3
},
"luminance": 0.27095
}Semantic roles & 50–950 ramp
primary
#A478E7
secondary
#E1EECD
accent
#D21486
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84