The purple wire is generally a secondary warm wire. With a smart switch, the pink wire usually connects towards the switch leg to control a light or other load. In an electrical box, a purple wire could be a traveler, a switch leg or the 2nd sizzling of a 240-volt https://shanetrmia.blog2freedom.com/34817727/5-easy-facts-about-wiring-to-lights-described