#A678FC#A678FC
#A678FC is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.190 H 297.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A678FC |
|---|---|
| RGB | rgb(166, 120, 252) |
| HSL | hsl(261, 96%, 73%) |
| HSV | hsv(261, 52%, 99%) |
| CMYK | cmyk(34.1%, 52.4%, 0%, 1.2%) |
| CIE-LAB | lab(60.40, 45.42, -59.71) |
| CIE-LCH | lch(60.40, 75.02, 307.26°) |
| OKLab | oklab(67.75% 0.0866 -0.1689) |
| OKLCH | oklch(67.75% 0.19 297.1) |
| XYZ | xyz(40.0087, 28.5677, 95.4828) |
| Luminance | 0.2857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.57
Easter Purple
#C071FE
ΔE00 4.95
Light Purple
#BF77F6
ΔE00 5.09
Periwinkle (survey)
#8E82FE
ΔE00 5.75
Mediumpurple
#9370DB
ΔE00 5.82
Lighter Purple
#A55AF4
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678FC #CEFC78
analogous
#788CFC #A678FC #E878FC
triadic
#A678FC #FCA678 #78FCA6
tetradic
#A678FC #FC788C #CEFC78 #78FCE8
square
#A678FC #FC788C #CEFC78 #78FCE8
split-complementary
#A678FC #FCE878 #8CFC78
monochromatic
#5905F4 #7F3CFB #A678FC #CDB4FD #EBE1FE
Accessibility & contrast
On white
3.13
#A678FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#A678FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678FC
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678FC | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#9392AF
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #a678fc; /* rgb */ color: rgb(166, 120, 252); /* oklch */ color: oklch(67.7% 0.190 297.1);
Tailwind
colors: {
custom: {
50: '#c4a0fe',
500: '#a678fc',
950: '#000000',
},
}SCSS
$custom: #a678fc; $custom-light: #c4a0fe; $custom-dark: #000000;
JSON
{
"hex": "#a678fc",
"rgb": {
"r": 166,
"g": 120,
"b": 252
},
"hsl": {
"h": 260.909,
"s": 95.652,
"l": 72.941
},
"oklch": {
"l": 0.67747,
"c": 0.18979,
"h": 297.1
},
"luminance": 0.28568
}Semantic roles & 50–950 ramp
primary
#A678FC
secondary
#EBF7D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86