You asked

Is the canon rf 20 50mm f 4l is usm pz good for portraits?

The Canon RF 20-50mm f/4L IS USM PZ can take portraits, but it isn't a dedicated portrait lens. Its useful portrait range is the 50mm end. Shorter focal lengths make faces look wider and exaggerate whatever is nearest the camera, as the portraits guide explains. At f/4 it also gives less background blur than the wide-aperture primes the guide favours. Its image stabilisation helps with handheld shots in dim rooms, but it steadies the camera, not the subject.

If you shoot portraits on full frame, the lens works best on a body that gets you to 50mm comfortably:

For sharper backgrounds, the guide's lens choices are a 50mm f/1.8 or an 85mm f/1.8, both cheaper and faster than this zoom. Keep the 20-50mm if you also want one lens for general shooting and video, since that's what it's built for.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.