You asked

Is the canon ef 24 105mm f 4l is usm good for portraits?

The Canon EF 24-105mm f/4L IS USM is a reasonable portrait lens, but the guide doesn't rank it as a specialist. Its f/4 maximum aperture gives less background blur than the lenses the portraits page favours, such as an 85mm f/1.8. Its strength is versatility: one lens covers full-length shots, group photos and environmental portraits. At 105mm you stand a comfortable distance from your subject, which flatters faces. Image stabilisation helps when light is low and your sitter is still, though it does nothing for a moving subject.

The lens is built for full frame, and the guide suggests these cameras for it:

Whichever you choose, the lens needs little else to start. For stronger background blur, the guide points to an 85mm f/1.8 as the classic portrait lens, and to a 70-200mm f/2.8 for tight headshots outdoors. Read the lenses page on aperture for why a wider opening matters in dim light.

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}.