You asked
Which fast lens suits a pentax k 5 ii for indoor portraits under 500 euros?
For indoor portraits on the K-5 II, the guide's pick is a fast prime. The lens matters more than the body here, and the K-5 II's in-body stabilisation steadies the camera but won't freeze a moving subject, so a wide aperture does the real work.
The Pentax smc DA 50mm f/1.8 is the budget choice. It frames like 75mm on full frame, a comfortable portrait length, and f/1.8 gives plenty of light for a room. It is a simple lens and won't blur the background as much as a faster one.
The Sigma 30mm f/1.4 DC HSM Art is the most flexible indoor option. It frames like 45mm, close to a standard view, so it suits group shots, room portraits and everyday use, and f/1.4 is very bright in dim light. Pick it if you want one lens that covers more than portraits.
The Pentax smc DA* 55mm f/1.4 SDM is the portrait specialist. It frames like 82mm, which gives flattering proportions and a soft background at f/1.4. It is the one most likely to stretch past 500 euros, so check its price before committing.
This answer can't confirm which of these fit 500 euros, because the guide hasn't checked prices for them here. Each lens page has its own price check, so look there before you buy. For the approach behind these picks, see portraits.
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}.