#A678F5#A678F5
#A678F5 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.181 H 298.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A678F5 |
|---|---|
| RGB | rgb(166, 120, 245) |
| HSL | hsl(262, 86%, 72%) |
| HSV | hsv(262, 51%, 96%) |
| CMYK | cmyk(32.2%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(60.01, 43.67, -56.47) |
| CIE-LCH | lch(60.01, 71.39, 307.71°) |
| OKLab | oklab(67.33% 0.0862 -0.1594) |
| OKLCH | oklch(67.33% 0.181 298.4) |
| XYZ | xyz(38.9198, 28.1321, 89.7481) |
| Luminance | 0.2813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.27
Light Purple
#BF77F6
ΔE00 4.75
Easter Purple
#C071FE
ΔE00 4.86
Mediumpurple
#9370DB
ΔE00 5.15
Periwinkle (survey)
#8E82FE
ΔE00 6.14
Lighter Purple
#A55AF4
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678F5 #C7F578
analogous
#7889F5 #A678F5 #E578F5
triadic
#A678F5 #F5A678 #78F5A6
tetradic
#A678F5 #F57889 #C7F578 #78F5E5
square
#A678F5 #F57889 #C7F578 #78F5E5
split-complementary
#A678F5 #F5E578 #89F578
monochromatic
#5E11E2 #803FF1 #A678F5 #CCB1F9 #ECE3FD
Accessibility & contrast
On white
3.17
#A678F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#A678F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678F5
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678F5 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A91F9
Deuteranopia (green-blind)
#568FF2
Tritanopia (blue-blind)
#9590AB
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a678f5; /* rgb */ color: rgb(166, 120, 245); /* oklch */ color: oklch(67.3% 0.181 298.4);
Tailwind
colors: {
custom: {
50: '#c4a0f9',
500: '#a678f5',
950: '#000000',
},
}SCSS
$custom: #a678f5; $custom-light: #c4a0f9; $custom-dark: #000000;
JSON
{
"hex": "#a678f5",
"rgb": {
"r": 166,
"g": 120,
"b": 245
},
"hsl": {
"h": 262.08,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.67331,
"c": 0.1812,
"h": 298.4
},
"luminance": 0.28133
}Semantic roles & 50–950 ramp
primary
#A678F5
secondary
#E9F4D4
accent
#E30390
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85