#A478F5#A478F5
#A478F5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.181 H 297.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A478F5 |
|---|---|
| RGB | rgb(164, 120, 245) |
| HSL | hsl(261, 86%, 72%) |
| HSV | hsv(261, 51%, 96%) |
| CMYK | cmyk(33.1%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(59.81, 43.18, -56.79) |
| CIE-LCH | lch(59.81, 71.34, 307.24°) |
| OKLab | oklab(67.14% 0.0837 -0.1604) |
| OKLCH | oklch(67.14% 0.181 297.6) |
| XYZ | xyz(38.5037, 27.9176, 89.7286) |
| Luminance | 0.2792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.58
Mediumpurple
#9370DB
ΔE00 4.96
Light Purple
#BF77F6
ΔE00 5.14
Easter Purple
#C071FE
ΔE00 5.22
Periwinkle (survey)
#8E82FE
ΔE00 5.82
Lighter Purple
#A55AF4
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478F5 #C9F578
analogous
#788BF5 #A478F5 #E378F5
triadic
#A478F5 #F5A478 #78F5A4
tetradic
#A478F5 #F5788B #C9F578 #78F5E3
square
#A478F5 #F5788B #C9F578 #78F5E3
split-complementary
#A478F5 #F5E378 #8BF578
monochromatic
#5A11E2 #7E3FF1 #A478F5 #CAB1F9 #ECE3FD
Accessibility & contrast
On white
3.19
#A478F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#A478F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478F5
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478F5 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#9290AB
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a478f5; /* rgb */ color: rgb(164, 120, 245); /* oklch */ color: oklch(67.1% 0.181 297.6);
Tailwind
colors: {
custom: {
50: '#c3a0f9',
500: '#a478f5',
950: '#000000',
},
}SCSS
$custom: #a478f5; $custom-light: #c3a0f9; $custom-dark: #000000;
JSON
{
"hex": "#a478f5",
"rgb": {
"r": 164,
"g": 120,
"b": 245
},
"hsl": {
"h": 261.12,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.67142,
"c": 0.18092,
"h": 297.6
},
"luminance": 0.27918
}Semantic roles & 50–950 ramp
primary
#A478F5
secondary
#E9F4D4
accent
#E30394
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85