A blue ribbon means that a dog is in service training (though yellow is sometimes used for this too), and purple indicates that a person should not feed the dog (be it because of allergies or ...