I have an HDHP plan until June 2023 and I will change my plan to a low deductible health plan on July 1st. How much can I contribute to my HSA?

Can I contribute the full amount before July 1st? Family contribution of $7750.