The purple wire is normally a secondary scorching wire. On a smart switch, the pink wire typically connects into the switch leg to control a light or other load. Within an electrical box, a pink wire could be a traveler, a switch leg or the next warm of the 240-volt https://mylesnjdxp.tinyblogging.com/wiring-to-lights-an-overview-78444605