You asked

Sigma 24mm f 1 4 dg hsm art vs viltrox af 24mm f 1 8?

Sigma 24mm f/1.4 DG HSM Art (page) is the stronger lens for dim light and moving subjects. Its f/1.4 aperture lets in about a stop more light than the Viltrox's f/1.8, and it gives shallower depth of field. On APS-C it behaves like f/2.1 for depth of field, against about f/2.7 for the Viltrox. Both are 24mm on full frame, and neither has stabilisation, so the wider aperture is what matters here. The Sigma also covers more mounts: Canon EF, Nikon F, Sony E and L-Mount, against Sony E and Nikon Z for the Viltrox.

Viltrox AF 24mm f/1.8 (page) gives up that light and some background blur, but it is still a sensible wide prime for daylight, travel and general use. If you shoot Sony E or Nikon Z, it is a fair alternative. Choose it if you mostly shoot in good light and want to keep the cost down.

Neither lens will make a 24mm view flattering for portraits. The guide notes that very wide lenses exaggerate whatever is nearest the camera, so for people, a 50mm or 85mm does more. For blur, the guide's aperture and background blur section explains that moving your subject away from the background often helps more than a faster lens. For a first prime, the lenses guide recommends a fast standard prime alongside a standard zoom.

If you are buying one lens to shoot indoors and in the evening, the Sigma is the better choice. The Viltrox suits daylight shooting or a tighter budget.

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