Approximating a quantum state by the convex mixing of some given states has strong experimental significance and provides potential applications in quantum resource theory. Here we find a closed form of the minimal distance in the sense of l_2 norm between a given d-dimensional objective quantum state and the state convexly mixed by those restricted in any given (mixed-) state set. In particular, we present the minimal number of the states in the given set to achieve the optimal distance. The validity of our closed solution is further verified numerically by several randomly generated quantum states.