>>54784514Scarlet and Violet are on the opposite ends of the visible light spectrum, with their relation the the legends being pretty deliberate too (redshifted is how light coming off of object moving away from us is described, given to Koraidon because we're moving away from the past, and blueshifted is how light from object coming towards us is described, given to Miraidon as we're heading towards the future.)
The Dream World stuff may be a coincidence depending on how Indigo Disk pans out, but the relation the rainbow itself more than likely isn't