#A478F6#A478F6
#A478F6 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.182 H 297.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A478F6 |
|---|---|
| RGB | rgb(164, 120, 246) |
| HSL | hsl(261, 88%, 72%) |
| HSV | hsv(261, 51%, 96%) |
| CMYK | cmyk(33.3%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(59.87, 43.43, -57.26) |
| CIE-LCH | lch(59.87, 71.86, 307.18°) |
| OKLab | oklab(67.2% 0.0838 -0.1617) |
| OKLCH | oklch(67.2% 0.182 297.4) |
| XYZ | xyz(38.6568, 27.9788, 90.5347) |
| Luminance | 0.2798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.60
Mediumpurple
#9370DB
ΔE00 5.06
Light Purple
#BF77F6
ΔE00 5.18
Easter Purple
#C071FE
ΔE00 5.22
Periwinkle (survey)
#8E82FE
ΔE00 5.75
Lighter Purple
#A55AF4
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478F6 #CAF678
analogous
#788BF6 #A478F6 #E378F6
triadic
#A478F6 #F6A478 #78F6A4
tetradic
#A478F6 #F6788B #CAF678 #78F6E3
square
#A478F6 #F6788B #CAF678 #78F6E3
split-complementary
#A478F6 #F6E378 #8BF678
monochromatic
#5A0FE4 #7D3FF2 #A478F6 #CBB1FA #ECE2FD
Accessibility & contrast
On white
3.18
#A478F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#A478F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478F6
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478F6 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FA
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#9291AC
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a478f6; /* rgb */ color: rgb(164, 120, 246); /* oklch */ color: oklch(67.2% 0.182 297.4);
Tailwind
colors: {
custom: {
50: '#c3a0fa',
500: '#a478f6',
950: '#000000',
},
}SCSS
$custom: #a478f6; $custom-light: #c3a0fa; $custom-dark: #000000;
JSON
{
"hex": "#a478f6",
"rgb": {
"r": 164,
"g": 120,
"b": 246
},
"hsl": {
"h": 260.952,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.67201,
"c": 0.18216,
"h": 297.4
},
"luminance": 0.27979
}Semantic roles & 50–950 ramp
primary
#A478F6
secondary
#EAF5D5
accent
#E40195
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85