Circuit for generating a PWM signal of varying high and low voltage values
Using a precision clamp might be OK: -



U1 clamps the maximum level at the value V3 and U2 keeps the minimum level no lower than V5.

Probably best to do a simulation to see how those particular op-amps handle the maximum PWM frequency you are wanting to use - faster devices can of course be chosen.