They are hall sensor wires for sensored hubs they are for sine wave controllers , they have a white 6 pin block each colour matches the same colour in the block.
Most hubs are capable of running unsensored though a bit noisy if your controller has only the 3 phase wires then you have a square...