Among other things that purple region determines the "priority"/"intensity" of the whole sequence.
You want it as high as possible to make as much spike protein as possible.
It's proprietary information, mostly they try various possibilities until they find one with high expression.