The structure of the comp depends entirely on your shot and design. This would be a good subject for one of my tutorials. In the meantime, take a look at this comp using an Adobe Stock shot.

I used a shape layer with a blur plus a matte tied to the center of a Motion Track in Mocha as a track matte with the add blend mode. The color of the blurred and matted shape layer was controlled with a simple linear expression tied to the torch's average original color. I also controlled the exposure of the text layer and fiddled around a bit with some other settings to create this composite.
The project is far from perfect, but the included project files (25 and 24) might give you some ideas. To polish it up, I probably would have done some rotoscoping, maybe made the text a 3D layer, and added a light controlled by the average luminance value of the torch track. If the light was a spotlight, I could also use the tracking data from Mocha AE to keep the light pointed at the text layer.
I will let you know if I produce a tutorial on this kind of workflow.