#A478F9#A478F9
#A478F9 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.186 H 296.9°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A478F9 |
|---|---|
| RGB | rgb(164, 120, 249) |
| HSL | hsl(260, 91%, 72%) |
| HSV | hsv(260, 52%, 98%) |
| CMYK | cmyk(34.1%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(60.04, 44.18, -58.65) |
| CIE-LCH | lch(60.04, 73.43, 306.99°) |
| OKLab | oklab(67.38% 0.084 -0.1658) |
| OKLCH | oklch(67.38% 0.186 296.9) |
| XYZ | xyz(39.1209, 28.1644, 92.9793) |
| Luminance | 0.2817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.72
Easter Purple
#C071FE
ΔE00 5.25
Light Purple
#BF77F6
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 5.36
Periwinkle (survey)
#8E82FE
ΔE00 5.57
Lighter Purple
#A55AF4
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478F9 #CDF978
analogous
#788DF9 #A478F9 #E478F9
triadic
#A478F9 #F9A478 #78F9A4
tetradic
#A478F9 #F9788D #CDF978 #78F9E4
square
#A478F9 #F9788D #CDF978 #78F9E4
split-complementary
#A478F9 #F9E478 #8DF978
monochromatic
#570AEC #7D3DF6 #A478F9 #CBB3FC #EBE2FE
Accessibility & contrast
On white
3.17
#A478F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#A478F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478F9
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478F9 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4591FD
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#9192AD
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a478f9; /* rgb */ color: rgb(164, 120, 249); /* oklch */ color: oklch(67.4% 0.186 296.9);
Tailwind
colors: {
custom: {
50: '#c3a0fc',
500: '#a478f9',
950: '#000000',
},
}SCSS
$custom: #a478f9; $custom-light: #c3a0fc; $custom-dark: #000000;
JSON
{
"hex": "#a478f9",
"rgb": {
"r": 164,
"g": 120,
"b": 249
},
"hsl": {
"h": 260.465,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.67379,
"c": 0.18587,
"h": 296.9
},
"luminance": 0.28165
}Semantic roles & 50–950 ramp
primary
#A478F9
secondary
#EBF6D5
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85