You asked

Which fast prime on the canon eos 200d suits portraits in a dim room?

For dim-room portraits on the Canon EOS 200D, the lens matters more than the body. The fastest aperture does the work, because the body has no stabilisation of its own and a portrait subject is still, so a wide aperture is what brings the light in.

The Sigma 24mm f/1.4 DG HSM Art is this site's pick. On the 200D it frames like 38mm on full frame, a natural environmental view that shows where someone is. It's fast enough for a dim room, but it gives up tight framing, so you'll need to stand closer. The Canon EF 24mm f/1.4L II USM covers the same focal length and speed, and is the Canon-made alternative if you want one brand throughout.

For tighter headshots, the Sigma 50-100mm f/1.8 DC HSM Art is a fast zoom that frames like 80-160mm on full frame. The portraits guide says longer lenses flatter faces, but this needs room between you and the subject, which a small dim room may not give you.

If you want one lens that covers more ground, the Sigma 18-35mm f/1.8 DC HSM Art is a fast zoom that frames like 29-56mm on full frame. It's the more flexible choice, but it's a zoom rather than a prime.

The lenses guide suggests a fast standard prime for low light and people, and on APS-C that means roughly 33-35mm at f/1.4 to f/1.8. The 24mm lenses here are a little wider than that, so they suit a room with some space behind you.

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