Harvard UP describes it directly: the principles are those “free and rational people would accept in an ‘original position’ of equality,” where “no one knows their place in society” — “[d]eliberating behind this ‘veil of ignorance,’ people naturally determine their proper rights and duties.”
Rawls, John. A Theory of Justice. Cambridge, MA: Harvard University Press, 1971 (rev. ed. 1999).