We report a measurement of the mixing-induced and direct CP violation parameters SCP and ACP from B0→J/ψKS0 decays reconstructed by the Belle II experiment at the SuperKEKB asymmetric-energy electron-positron collider. The data, collected at the center-of-mass energy of the Υ(4S) resonance, correspond to 190fb−1 of integrated luminosity. We measure SCP=0.720±0.062±0.016 and ACP=0.094±0.044−0.017+0.042, where the first uncertainties are statistical and the second systematic. In the Standard Model, SCP equals sin(2ϕ1) to a good approximation.