Blue or purple nails can be from a condition called cyanosis, a medical word for that skin that looks that way. You might notice it on other parts of your body, too, such as your lips or even your earlobes. It can happen if your red blood cells aren’t carrying enough oxygen. Your doctor will see if your heart, lungs, blood cells, and blood vessels are working right.