#A678F3#A678F3
#A678F3 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.179 H 298.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A678F3 |
|---|---|
| RGB | rgb(166, 120, 243) |
| HSL | hsl(262, 84%, 71%) |
| HSV | hsv(262, 51%, 95%) |
| CMYK | cmyk(31.7%, 50.6%, 0%, 4.7%) |
| CIE-LAB | lab(59.90, 43.17, -55.54) |
| CIE-LCH | lch(59.90, 70.35, 307.86°) |
| OKLab | oklab(67.21% 0.086 -0.1567) |
| OKLCH | oklch(67.21% 0.179 298.8) |
| XYZ | xyz(38.6161, 28.0106, 88.1488) |
| Luminance | 0.2801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.24
Light Purple
#BF77F6
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 4.88
Mediumpurple
#9370DB
ΔE00 4.98
Periwinkle (survey)
#8E82FE
ΔE00 6.29
Lighter Purple
#A55AF4
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678F3 #C5F378
analogous
#7887F3 #A678F3 #E378F3
triadic
#A678F3 #F3A678 #78F3A6
tetradic
#A678F3 #F37887 #C5F378 #78F3E3
square
#A678F3 #F37887 #C5F378 #78F3E3
split-complementary
#A678F3 #F3E378 #87F378
monochromatic
#5F14DD #8140EE #A678F3 #CBB0F8 #ECE3FD
Accessibility & contrast
On white
3.18
#A678F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#A678F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678F3
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678F3 | 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)
#4C90F7
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#9690AA
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a678f3; /* rgb */ color: rgb(166, 120, 243); /* oklch */ color: oklch(67.2% 0.179 298.8);
Tailwind
colors: {
custom: {
50: '#c4a0f8',
500: '#a678f3',
950: '#000000',
},
}SCSS
$custom: #a678f3; $custom-light: #c4a0f8; $custom-dark: #000000;
JSON
{
"hex": "#a678f3",
"rgb": {
"r": 166,
"g": 120,
"b": 243
},
"hsl": {
"h": 262.439,
"s": 83.673,
"l": 71.176
},
"oklch": {
"l": 0.67214,
"c": 0.17873,
"h": 298.8
},
"luminance": 0.28011
}Semantic roles & 50–950 ramp
primary
#A678F3
secondary
#E7F4D3
accent
#E0058E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85