Extremely sad!!

I've been really sad for awhile ever since my parents found out my boyfriend of 2 years and I had unprotected sex two times. Yes I know it was a mistake and I didn't get pregnant so that's good. I know what I did was irresponsible and that I hurt my parents. But I feel really empty and cry almost everyday since my parents keep telling me that I'm not allowed to see my boyfriend. They even talked to his mom and told her that he isn't allowed to be near me. I'm 17 years old and he's 18. But I love him so much and we were so happy together. My parents see him as a bad person but in reality he's not, I understand where they both are coming from but it's really hurtful for me every time I see my friends with their couple and I'm so jealous of their relationships since they're so happy going out and spending time together and I can't have that. I don't know what to do and I don't know how to approach the subject with my parents since it seems like they hate him. It's been 3 months since the incident and I haven't brought up the topic to them just so I can allow the situation to cool down a bit. I honestly don't know what to do anymore..