Hello, and thanks for your medical question on E Health Forum.
Severe hacking cough associated with sorethroat can cause occasional episodes of blood streaked sputum and there is no need to panic.
Presence of purulent sputum indicates a streptococcal infection and might need a course of antibiotics for early resolution.
You might benefit by consulting your doctor for further evaluation and specific treatment.
I hope this helps.