We examine the wavelength dependence of radial light profiles based on Sérsic index n measurements of 1067 galaxies with M * ≥ 109.5 M ⊙ and in the redshift range 0.5 < z < 3. The sample and rest-frame optical light profiles are drawn from the Cosmic Assembly Near-infrared Deep Extragalactic Legacy Survey (CANDELS) and 3D Hubble Space Telescope (HST); rest-frame near-infrared light profiles are inferred from images collected for the Cosmic Evolution Early Release Science (CEERS) program with the Near Infrared Camera (NIRCam) on board of the James Webb Space Telescope (JWST). n shows only a weak dependence on the wavelength, regardless of the redshift, galaxy mass, and type. On average, star-forming galaxies have n = 1–1.5 and quiescent galaxies have n = 3–4 in the rest-frame optical and near-infrared. The strong correlation at all wavelengths between n and star formation activity implies a physical connection between the radial stellar mass profile and star formation activity. The main caveat is that the current sample is too small to discern trends for the most massive galaxies (M * > 1011 M ⊙).