JK Rowling, Sir Salman Rushdie and Margaret Atwood are among prominent figures from the arts world who have signed a letter warning of an “intolerant climate” for free speech.

The 150 high-profile signatories say recent protests for racial and social justice are a “needed reckoning” but decried what they describe as the weakening of open debate in favour of “ideological conformity”.

The letter, published in Harper’s Magazine, comes amid a debate over so-called cancel culture, where public figures face criticism for perceived acts of offence.

It states: “The free exchange of information and ideas, the lifeblood of a liberal society, is daily becoming more constricted.

“While we have come to expect this on the radical right, censoriousness is also spreading more widely in our culture: an intolerance of opposing views, a vogue for public shaming and ostracism, and the tendency to dissolve complex policy issues in a blinding moral certainty.”

As well as Harry Potter creator Rowling and The Handmaid’s Tale author Atwood, others to put their name to the statement include academics and intellectuals Noam Chomsky, Gloria Steinem and Garry Kasparov.

Rowling has attracted stern criticism recently for her comments on biological sex, though she strongly denies being transphobic.

And Atwood, a two-time winner of the Booker Prize, has placed herself on the opposite side of the debate, telling fans to “Rejoice in Nature’s infinite variety!”

The letter in Harper’s Magazine criticised the current state of public debate and the “swift and severe retribution” dealt out to any perceived wrongs.

It said: “We uphold the value of robust and even caustic counter-speech from all quarters. But it is now all too common to hear calls for swift and severe retribution in response to perceived transgressions of speech and thought.

“More troubling still, institutional leaders, in a spirit of panicked damage control, are delivering hasty and disproportionate punishments instead of considered reforms.”

It adds: “Whatever the arguments around each particular incident, the result has been to steadily narrow the boundaries of what can be said without the threat of reprisal.

“We are already paying the price in greater risk aversion among writers, artists, and journalists who fear for their livelihoods if they depart from the consensus, or even lack sufficient zeal in agreement.”

The letter quickly sparked debate online. A social media user suggested the signatories were responding to a loss of “relevance” while others said it was a coded attack on trans rights activists.

Emily VanDerWerff, a trans woman, is a critic for the news website Vox. She said seeing the name of Vox co-founder Matt Yglesias on the letter made her feel “less safe” at work.