Yes, both lenses are capable of producing pleasing bokeh effects, thanks to their wide apertures. The f/4 version may provide a more pronounced background blur due to its constant aperture.