#A478F7#A478F7
#A478F7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.183 H 297.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A478F7 |
|---|---|
| RGB | rgb(164, 120, 247) |
| HSL | hsl(261, 89%, 72%) |
| HSV | hsv(261, 51%, 97%) |
| CMYK | cmyk(33.6%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(59.93, 43.68, -57.72) |
| CIE-LCH | lch(59.93, 72.39, 307.12°) |
| OKLab | oklab(67.26% 0.0838 -0.1631) |
| OKLCH | oklch(67.26% 0.183 297.2) |
| XYZ | xyz(38.8106, 28.0403, 91.3452) |
| Luminance | 0.2804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.64
Mediumpurple
#9370DB
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.23
Periwinkle (survey)
#8E82FE
ΔE00 5.69
Lighter Purple
#A55AF4
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478F7 #CBF778
analogous
#788CF7 #A478F7 #E378F7
triadic
#A478F7 #F7A478 #78F7A4
tetradic
#A478F7 #F7788C #CBF778 #78F7E3
square
#A478F7 #F7788C #CBF778 #78F7E3
split-complementary
#A478F7 #F7E378 #8CF778
monochromatic
#590EE7 #7D3EF4 #A478F7 #CBB2FA #ECE2FD
Accessibility & contrast
On white
3.18
#A478F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#A478F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478F7
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478F7 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#9291AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a478f7; /* rgb */ color: rgb(164, 120, 247); /* oklch */ color: oklch(67.3% 0.183 297.2);
Tailwind
colors: {
custom: {
50: '#c3a0fa',
500: '#a478f7',
950: '#000000',
},
}SCSS
$custom: #a478f7; $custom-light: #c3a0fa; $custom-dark: #000000;
JSON
{
"hex": "#a478f7",
"rgb": {
"r": 164,
"g": 120,
"b": 247
},
"hsl": {
"h": 260.787,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.6726,
"c": 0.1834,
"h": 297.2
},
"luminance": 0.28041
}Semantic roles & 50–950 ramp
primary
#A478F7
secondary
#EAF5D5
accent
#E50096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85