#A678F6#A678F6
#A678F6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.182 H 298.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A678F6 |
|---|---|
| RGB | rgb(166, 120, 246) |
| HSL | hsl(262, 88%, 72%) |
| HSV | hsv(262, 51%, 96%) |
| CMYK | cmyk(32.5%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(60.06, 43.92, -56.94) |
| CIE-LCH | lch(60.06, 71.91, 307.64°) |
| OKLab | oklab(67.39% 0.0862 -0.1608) |
| OKLCH | oklch(67.39% 0.182 298.2) |
| XYZ | xyz(39.0728, 28.1933, 90.5542) |
| Luminance | 0.2819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.30
Light Purple
#BF77F6
ΔE00 4.79
Easter Purple
#C071FE
ΔE00 4.86
Mediumpurple
#9370DB
ΔE00 5.23
Periwinkle (survey)
#8E82FE
ΔE00 6.08
Lighter Purple
#A55AF4
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678F6 #C8F678
analogous
#7889F6 #A678F6 #E578F6
triadic
#A678F6 #F6A678 #78F6A6
tetradic
#A678F6 #F67889 #C8F678 #78F6E5
square
#A678F6 #F67889 #C8F678 #78F6E5
split-complementary
#A678F6 #F6E578 #89F678
monochromatic
#5D0FE4 #803FF2 #A678F6 #CCB1FA #ECE2FD
Accessibility & contrast
On white
3.16
#A678F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#A678F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678F6
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678F6 | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#5590F3
Tritanopia (blue-blind)
#9590AC
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a678f6; /* rgb */ color: rgb(166, 120, 246); /* oklch */ color: oklch(67.4% 0.182 298.2);
Tailwind
colors: {
custom: {
50: '#c4a0fa',
500: '#a678f6',
950: '#000000',
},
}SCSS
$custom: #a678f6; $custom-light: #c4a0fa; $custom-dark: #000000;
JSON
{
"hex": "#a678f6",
"rgb": {
"r": 166,
"g": 120,
"b": 246
},
"hsl": {
"h": 261.905,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.6739,
"c": 0.18242,
"h": 298.2
},
"luminance": 0.28194
}Semantic roles & 50–950 ramp
primary
#A678F6
secondary
#E9F5D5
accent
#E40191
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85