Transition to hexagonal pattern under the variation of intrinsic length scales of a reaction diffusion system