#A678FD#A678FD
#A678FD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.191 H 297.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A678FD |
|---|---|
| RGB | rgb(166, 120, 253) |
| HSL | hsl(261, 97%, 73%) |
| HSV | hsv(261, 53%, 99%) |
| CMYK | cmyk(34.4%, 52.6%, 0%, 0.8%) |
| CIE-LAB | lab(60.45, 45.67, -60.17) |
| CIE-LCH | lch(60.45, 75.54, 307.20°) |
| OKLab | oklab(67.81% 0.0866 -0.1702) |
| OKLCH | oklch(67.81% 0.191 297) |
| XYZ | xyz(40.1675, 28.6312, 96.3196) |
| Luminance | 0.2863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.64
Easter Purple
#C071FE
ΔE00 4.97
Light Purple
#BF77F6
ΔE00 5.15
Periwinkle (survey)
#8E82FE
ΔE00 5.71
Mediumpurple
#9370DB
ΔE00 5.92
Lighter Purple
#A55AF4
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678FD #CFFD78
analogous
#788CFD #A678FD #E878FD
triadic
#A678FD #FDA678 #78FDA6
tetradic
#A678FD #FD788C #CFFD78 #78FDE8
square
#A678FD #FD788C #CFFD78 #78FDE8
split-complementary
#A678FD #FDE878 #8CFD78
monochromatic
#5804F7 #7E3CFC #A678FD #CEB4FE #EBE1FF
Accessibility & contrast
On white
3.12
#A678FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#A678FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678FD
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678FD | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#9293AF
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a678fd; /* rgb */ color: rgb(166, 120, 253); /* oklch */ color: oklch(67.8% 0.191 297.0);
Tailwind
colors: {
custom: {
50: '#c4a0ff',
500: '#a678fd',
950: '#000000',
},
}SCSS
$custom: #a678fd; $custom-light: #c4a0ff; $custom-dark: #000000;
JSON
{
"hex": "#a678fd",
"rgb": {
"r": 166,
"g": 120,
"b": 253
},
"hsl": {
"h": 260.752,
"s": 97.08,
"l": 73.137
},
"oklch": {
"l": 0.67807,
"c": 0.19101,
"h": 297
},
"luminance": 0.28632
}Semantic roles & 50–950 ramp
primary
#A678FD
secondary
#EBF7D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86