Think coast by coast.
Sri Lanka has two monsoon seasons affecting different regions at different times. Broadly, the southwest is drier around December–March, while the east coast often has calmer weather around May–September. Local conditions vary; check a current forecast.