I am no mathematician but I like Cuisenaire rods and have some which I use with my children sometimes.
Is there any chance the answer is
Purple 7, Orange 9, red 4, green 6 and blue 8
Yes, that's right...! How did you come to the answer?