#A478FD#A478FD
#A478FD is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.191 H 296.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A478FD |
|---|---|
| RGB | rgb(164, 120, 253) |
| HSL | hsl(260, 97%, 73%) |
| HSV | hsv(260, 53%, 99%) |
| CMYK | cmyk(35.2%, 52.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.26, 45.20, -60.49) |
| CIE-LCH | lch(60.26, 75.51, 306.77°) |
| OKLab | oklab(67.62% 0.0842 -0.1712) |
| OKLCH | oklch(67.62% 0.191 296.2) |
| XYZ | xyz(39.7514, 28.4167, 96.3001) |
| Luminance | 0.2842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.93
Easter Purple
#C071FE
ΔE00 5.33
Periwinkle (survey)
#8E82FE
ΔE00 5.39
Light Purple
#BF77F6
ΔE00 5.52
Mediumpurple
#9370DB
ΔE00 5.78
Lavender Blue
#8B88F8
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478FD #D1FD78
analogous
#788EFD #A478FD #E778FD
triadic
#A478FD #FDA478 #78FDA4
tetradic
#A478FD #FD788E #D1FD78 #78FDE7
square
#A478FD #FD788E #D1FD78 #78FDE7
split-complementary
#A478FD #FDE778 #8EFD78
monochromatic
#5404F7 #7B3CFC #A478FD #CDB4FE #EBE1FF
Accessibility & contrast
On white
3.14
#A478FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#A478FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478FD
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478FD | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8F93AF
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a478fd; /* rgb */ color: rgb(164, 120, 253); /* oklch */ color: oklch(67.6% 0.191 296.2);
Tailwind
colors: {
custom: {
50: '#c3a0ff',
500: '#a478fd',
950: '#000000',
},
}SCSS
$custom: #a478fd; $custom-light: #c3a0ff; $custom-dark: #000000;
JSON
{
"hex": "#a478fd",
"rgb": {
"r": 164,
"g": 120,
"b": 253
},
"hsl": {
"h": 259.85,
"s": 97.08,
"l": 73.137
},
"oklch": {
"l": 0.6762,
"c": 0.19079,
"h": 296.2
},
"luminance": 0.28417
}Semantic roles & 50–950 ramp
primary
#A478FD
secondary
#EBF7D4
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86