For [Ni(en)³]²⁺ which is purple, the crystal field splitting energy is greater than the complex ion, [Ni(H₂O)₆]²⁺ which is green in color. When a Lewis base id attached to the metal ion by covalent bond, then the complex ion is formed and when these complex ions are present with other ions of opposite charge or neutral charge, they will make complex compounds.
I don’t know this, so I did research, so here! This is from a website called “Quora”, btw! If you need more information, just go to this app by copying and pasting your question on the G o o g l e Search bar!