8 red balls
6 yellow balls
7 green balls
2 purple balls
Total balls: 23
The probability of getting a red or a purple ball is:
P(red or purple) = P(red) + P(purple)
But:
P(red) = (# of red balls) / Total = 8/23
P(purple) = (# of purple balls) / Total = 2/23
Then:
P(red or purple) = 8/23 + 2/23 = 10/23 = 0.43478
In percentage form, to the nearest tenth: 43.5%