You asked

Which budget prime for an olympus pen e pl9 is best for portraits in dim rooms?

For portraits in dim rooms on the Olympus PEN E-PL9, the guide's pick is a fast prime in the 25mm to 45mm range. The PEN's Micro Four Thirds sensor doubles focal lengths, so these are the lenses that give the classic portrait views. The site's portrait advice favours a 50mm-type view for everyday people shots and 85mm for flattering faces, and both are reachable here.

The 25mm is the better choice for most indoor portraits, because it fits tight rooms. The 45mm suits headshots where you can step back. If you want more light than f/1.8 offers, the Panasonic Leica DG 25mm f/1.4 II is the faster 50mm-equivalent option, but it costs more.

The PEN E-PL9 has in-body stabilisation, which steadies the camera when the subject sits still in dim light. It won't freeze a moving child, so aperture matters more for that. The lens pages carry the prices, but this answer can't confirm which one fits your budget, so check the lens pages before you buy. The camera's price in France is used only, and it's checked on the shops linked there.

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