You asked
Which 35mm or 50mm prime works on my sony a6500 for portraits?
For portraits on the Sony a6500, the 50mm-equivalent look is about 33mm on this APS-C body, and the 35mm look is about 23mm. The a6500 page shows no fixed prime at either length in the part of its lens list visible here, so the guide can't confirm one. The fixed primes it does show are at 7.5mm to 10mm, which are fisheye or ultra-wide. Its lens guide suggests a fast standard prime of about 33 to 35mm on APS-C, and a fast zoom can cover the same ground.
The best fit on the visible list is the Sigma 28-45mm f/1.8 DG DN Art. It runs from about 42 to 68mm on full frame, so its 42 to 50mm end gives the portrait look you want, and f/1.8 gives a soft background and good light gathering. It is a zoom, so you lose some of a prime's sharpness and speed, but you can frame without moving.
The Sony FE 24-50mm f/2.8 G covers both the 35mm and 50mm looks at a smaller maximum aperture. It is a better choice if you want to shoot street and travel too. For more reach, the Sony FE 28-70mm f/2 GM is a very fast zoom that suits portraits, though it costs much more.
Portrait lenses are about aperture and distance, not stabilisation, so prioritise a wide maximum aperture. Where you'll stand matters too: at 50mm equivalent you need to be a few steps back from your subject. The portraits page covers distance and framing, and the focal length guide explains the crop-factor maths.
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}.