Velocity depends on magnitude and direction since it is vector quantity, as the direction changes velocity changes while the speed remains the same
velocity can be equal to speed if the body is in linear motion[ motion in straight line] but it cannot exceed speed.