Yamaha uses the yellow wire as hot with key on, Purple wire is standard boat wiring for hot with key on. You can usually find one on a gauge such as a voltmeter. Also, under the cowl on the starboard side there is sometimes wires that are plugged off (bullet connections). On 3.0 Mercurys there is a purple wire there, don't know about the yellow wire on a Yamaha.
John