In vivo, topical SP treatment significantly reduced UVB-induced hyperpigmentation and skin inflammation, correlating with decreased CREB phosphorylation and tyrosinase expression.<h4>Conclusions</h4>SP acts as a dual anti-melanogenic/anti-inflammatory agent through enzyme inhibition and signaling modulation, offering a novel therapeutic strategy for inflammation-associated hyperpigmentation. Here, CREB1 is linked to inflammation.