Easy way to tell which is which, is as it is going all the time, remove one at a time and see which ones stops it, some cars have a extra purple which is for the air con(only if fitted obviously).
Whilst the ecu normally on these primes, it should also start pump once it receives the CPS signal from rotating engine, so it stops when engine stops, ie in crash etc.
tabetha