#A678FB#A678FB
#A678FB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.189 H 297.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A678FB |
|---|---|
| RGB | rgb(166, 120, 251) |
| HSL | hsl(261, 94%, 73%) |
| HSV | hsv(261, 52%, 98%) |
| CMYK | cmyk(33.9%, 52.2%, 0%, 1.6%) |
| CIE-LAB | lab(60.34, 45.17, -59.25) |
| CIE-LCH | lch(60.34, 74.50, 307.32°) |
| OKLab | oklab(67.69% 0.0865 -0.1675) |
| OKLCH | oklch(67.69% 0.189 297.3) |
| XYZ | xyz(39.8506, 28.5044, 94.6505) |
| Luminance | 0.2851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.51
Easter Purple
#C071FE
ΔE00 4.92
Light Purple
#BF77F6
ΔE00 5.03
Mediumpurple
#9370DB
ΔE00 5.71
Periwinkle (survey)
#8E82FE
ΔE00 5.79
Lighter Purple
#A55AF4
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A678FB #CDFB78
analogous
#788BFB #A678FB #E878FB
triadic
#A678FB #FBA678 #78FBA6
tetradic
#A678FB #FB788B #CDFB78 #78FBE8
square
#A678FB #FB788B #CDFB78 #78FBE8
split-complementary
#A678FB #FBE878 #8BFB78
monochromatic
#5907F1 #7F3DF9 #A678FB #CDB3FD #EBE1FE
Accessibility & contrast
On white
3.13
#A678FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#A678FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A678FB
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A678FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A678FB | 1.00 | 3.13 | 6.70 | 6.70 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#9392AE
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a678fb; /* rgb */ color: rgb(166, 120, 251); /* oklch */ color: oklch(67.7% 0.189 297.3);
Tailwind
colors: {
custom: {
50: '#c4a0fd',
500: '#a678fb',
950: '#000000',
},
}SCSS
$custom: #a678fb; $custom-light: #c4a0fd; $custom-dark: #000000;
JSON
{
"hex": "#a678fb",
"rgb": {
"r": 166,
"g": 120,
"b": 251
},
"hsl": {
"h": 261.069,
"s": 94.245,
"l": 72.745
},
"oklch": {
"l": 0.67687,
"c": 0.18857,
"h": 297.3
},
"luminance": 0.28505
}Semantic roles & 50–950 ramp
primary
#A678FB
secondary
#EBF6D5
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86