You asked

Which lens should I pair with an om 5 mark ii for portraits in dim light?

For portraits in dim light, the OM-5 Mark II's sensor and body stabilisation matter less than how much light the lens lets in. Its Micro Four Thirds sensor is small, so a fast lens is what keeps shutter speeds up and backgrounds soft. The aperture notes explain why: f/1.2 gathers noticeably more light than f/1.8. The in-body stabilisation helps steady the camera, but it does nothing to stop a moving subject blurring.

The OM-5 Mark II page lists plenty of fast options. These four suit portraits best:

Whichever you pick, the guide's advice is that window light, open shade or the hour before sunset will do more for a portrait than any lens. Turn your subject a little towards the window and expose for the face.

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