The strength of this pulsing effect can be adjusted using the "Darkness Pulsing" [JE only]/"Darkness effect strength" [BE only] slider under the accessibility settings, which is normally at 100%; when set to 0%, the player's vicinity does not darken at all, but their vision is still restricted to about 14 blocks.