#A678F7#A678F7
#A678F7 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.184 H 298.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A678F7 |
|---|---|
| RGB | rgb(166, 120, 247) |
| HSL | hsl(262, 89%, 72%) |
| HSV | hsv(262, 51%, 97%) |
| CMYK | cmyk(32.8%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(60.12, 44.17, -57.40) |
| CIE-LCH | lch(60.12, 72.43, 307.58°) |
| OKLab | oklab(67.45% 0.0863 -0.1621) |
| OKLCH | oklch(67.45% 0.184 298) |
| XYZ | xyz(39.2267, 28.2549, 91.3647) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.33
Light Purple
#BF77F6
ΔE00 4.83
Easter Purple
#C071FE
ΔE00 4.87
Mediumpurple
#9370DB
ΔE00 5.33
Periwinkle (survey)
#8E82FE
ΔE00 6.01
Lighter Purple
#A55AF4
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678F7 #C9F778
analogous
#788AF7 #A678F7 #E578F7
triadic
#A678F7 #F7A678 #78F7A6
tetradic
#A678F7 #F7788A #C9F778 #78F7E5
square
#A678F7 #F7788A #C9F778 #78F7E5
split-complementary
#A678F7 #F7E578 #8AF778
monochromatic
#5C0EE7 #803EF4 #A678F7 #CCB2FA #ECE2FD
Accessibility & contrast
On white
3.16
#A678F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#A678F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678F7
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678F7 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#9491AC
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a678f7; /* rgb */ color: rgb(166, 120, 247); /* oklch */ color: oklch(67.4% 0.184 298.0);
Tailwind
colors: {
custom: {
50: '#c4a0fa',
500: '#a678f7',
950: '#000000',
},
}SCSS
$custom: #a678f7; $custom-light: #c4a0fa; $custom-dark: #000000;
JSON
{
"hex": "#a678f7",
"rgb": {
"r": 166,
"g": 120,
"b": 247
},
"hsl": {
"h": 261.732,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.67449,
"c": 0.18365,
"h": 298
},
"luminance": 0.28255
}Semantic roles & 50–950 ramp
primary
#A678F7
secondary
#EAF5D5
accent
#E50092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85