#A478FC#A478FC
#A478FC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.6% C 0.190 H 296.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A478FC |
|---|---|
| RGB | rgb(164, 120, 252) |
| HSL | hsl(260, 96%, 73%) |
| HSV | hsv(260, 52%, 99%) |
| CMYK | cmyk(34.9%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(60.21, 44.94, -60.03) |
| CIE-LCH | lch(60.21, 74.99, 306.82°) |
| OKLab | oklab(67.56% 0.0841 -0.1699) |
| OKLCH | oklch(67.56% 0.19 296.3) |
| XYZ | xyz(39.5926, 28.3531, 95.4633) |
| Luminance | 0.2835 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.87
Easter Purple
#C071FE
ΔE00 5.31
Periwinkle (survey)
#8E82FE
ΔE00 5.43
Light Purple
#BF77F6
ΔE00 5.46
Mediumpurple
#9370DB
ΔE00 5.68
Lavender Blue
#8B88F8
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A478FC #D0FC78
analogous
#788EFC #A478FC #E678FC
triadic
#A478FC #FCA478 #78FCA4
tetradic
#A478FC #FC788E #D0FC78 #78FCE6
square
#A478FC #FC788E #D0FC78 #78FCE6
split-complementary
#A478FC #FCE678 #8EFC78
monochromatic
#5505F4 #7C3CFB #A478FC #CCB4FD #EBE1FE
Accessibility & contrast
On white
3.15
#A478FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#A478FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A478FC
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A478FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A478FC | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#9092AF
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a478fc; /* rgb */ color: rgb(164, 120, 252); /* oklch */ color: oklch(67.6% 0.190 296.3);
Tailwind
colors: {
custom: {
50: '#c3a0fe',
500: '#a478fc',
950: '#000000',
},
}SCSS
$custom: #a478fc; $custom-light: #c3a0fe; $custom-dark: #000000;
JSON
{
"hex": "#a478fc",
"rgb": {
"r": 164,
"g": 120,
"b": 252
},
"hsl": {
"h": 260,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.6756,
"c": 0.18956,
"h": 296.3
},
"luminance": 0.28354
}Semantic roles & 50–950 ramp
primary
#A478FC
secondary
#EBF7D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86