#A678F8#A678F8
#A678F8 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.185 H 297.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A678F8 |
|---|---|
| RGB | rgb(166, 120, 248) |
| HSL | hsl(262, 90%, 72%) |
| HSV | hsv(262, 52%, 97%) |
| CMYK | cmyk(33.1%, 51.6%, 0%, 2.7%) |
| CIE-LAB | lab(60.17, 44.42, -57.87) |
| CIE-LCH | lch(60.17, 72.95, 307.51°) |
| OKLab | oklab(67.51% 0.0864 -0.1635) |
| OKLCH | oklch(67.51% 0.185 297.8) |
| XYZ | xyz(39.3815, 28.3168, 92.1796) |
| Luminance | 0.2832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Easter Purple
#C071FE
ΔE00 4.88
Light Purple
#BF77F6
ΔE00 4.88
Mediumpurple
#9370DB
ΔE00 5.42
Periwinkle (survey)
#8E82FE
ΔE00 5.95
Lighter Purple
#A55AF4
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678F8 #CAF878
analogous
#788AF8 #A678F8 #E678F8
triadic
#A678F8 #F8A678 #78F8A6
tetradic
#A678F8 #F8788A #CAF878 #78F8E6
square
#A678F8 #F8788A #CAF878 #78F8E6
split-complementary
#A678F8 #F8E678 #8AF878
monochromatic
#5C0CE9 #803EF5 #A678F8 #CCB2FB #ECE2FD
Accessibility & contrast
On white
3.15
#A678F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#A678F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678F8
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678F8 | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4791FC
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#9491AD
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a678f8; /* rgb */ color: rgb(166, 120, 248); /* oklch */ color: oklch(67.5% 0.185 297.8);
Tailwind
colors: {
custom: {
50: '#c4a0fb',
500: '#a678f8',
950: '#000000',
},
}SCSS
$custom: #a678f8; $custom-light: #c4a0fb; $custom-dark: #000000;
JSON
{
"hex": "#a678f8",
"rgb": {
"r": 166,
"g": 120,
"b": 248
},
"hsl": {
"h": 261.563,
"s": 90.141,
"l": 72.157
},
"oklch": {
"l": 0.67508,
"c": 0.18487,
"h": 297.8
},
"luminance": 0.28317
}Semantic roles & 50–950 ramp
primary
#A678F8
secondary
#EAF6D5
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85