Alkali metal and alkaline earth soaps are white solids. The most commonly encountered are traditional household soaps, which are the fatty acid salts of sodium (hard soap) and potassium (soft soap). Lithium soap or greases, such as lithium stearate, are insoluble in water and find use in lubricating grease. 
Calcium and magnesium soaps are most commonly encountered as soap scum but the pure materials have a variety of uses. Magnesium stearate and calcium stearate are used as excipients, lubricants, release agents, and food additives, with the later use being covered by the generic E numbers of E470b and E470 respectively.