You asked

Best portrait lens for the panasonic lumix gx8?

For portraits on the Lumix GX8, the guide would start with a fast prime around 85mm equivalent, the focal length that flatters faces and blurs the background. The portraits page also argues that the lens matters more than the body, so the GX8 is a good home for one of these.

Light still does more than any lens. Face a window, turn your subject slightly, and expose for the face, as the light section explains. Prices change, so check the Price in France section on each lens page before you buy.

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