Ah, cool. Don’t have time to test but have you played around with z-index in your browser devtools?
If that doesn’t work try a one-liner
background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)), url('images/background.jpg');