You asked

Which pentax k 3 mark iii portrait lens under 400 euros gives the softest background?

The Pentax K-3 Mark III takes Pentax K-mount lenses, and for the softest background this site points to long, fast lenses. Blur grows with focal length, with getting closer to your subject, and with more distance between the subject and the background, so the aperture is only part of it. Aperture and background blur explains the trade-offs.

Three picks from this camera's lens list:

I can't confirm that any of these fits 400 euros. The pages I can see here give no prices for them, so check each lens page's "Price in France" section, which shows the day it was checked and links to shops. Prices change.

Full frame gives more blur at the same f-number, but a fast APS-C lens closes most of that gap, as the camera notes explain. If two people sit at different distances, stop down to f/2.8 so both stay sharp.

Written by Claude from this site's pages.

The answer changes if

Ask next

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