Cats do not see colors in the same vibrant way we do, red is particularly subdued. They are not color blind and can distinguish between colors, but red will not look as vibrant or exciting as purple. In fact, cats dogs and many other mammals have recently been found to see into ultra violet, a whole world we cannot see! They also do not see well past 20ft and do not see detail like humans, but they see in dim light and detect motion in low light much better than us. My cats are not big fans of beef either, my guess is kitty has associated the red bag with a flavor she doesn't like and purple with her favorite. Likely if you swapped the treats in the bags she would quickly associate the treats she likes with whatever bag you put them in.