In this paper, we consider the problem of semi-uniform deployment for mobile robots in perfect ℓ-ary trees, where every intermediate node has ℓ children, and all leaf nodes have the same depth. This problem requires robots to spread in the tree so that, for some positive integer d and some fixed integer s(0≤s≤d−1), each node of depth s+dj (j≥0) is occupied by a robot. In other words, after semi-uniform deployment is achieved, nodes of depth s,s+d,s+2d,… are occupied by a robot. Robots have an infinite visibility range but are opaque, that is, robot ri cannot observe some robot rj if there exists another robot rk in the path between ri and rj. In addition, each robot can emit a light color visible to itself and other robots, taken from a set of κ colors, at each time step. Then, we clarify the relationship between the number of available light colors and the solvability of the semi-uniform deployment problem. First, we consider robots with the minimum number of available light colors, that is, robots with κ=1 (in this case, robots are oblivious). In this setting, we show that there is no collision-free algorithm to solve the semi-uniform deployment problem with explicit termination. Next, we relax the number of available light colors, that is, we consider robots with κ=2. In this setting, we propose a collision-free algorithm that can solve the problem with explicit termination. Thus, our algorithm is optimal with respect to the number of light colors. In addition, to the best of our knowledge, this paper is the first to report research considering (a variant of) uniform deployment in graphs other than rings or grids., 2021 Ninth International Symposium on Computing and Networking, CANDAR 2021, 23-26 November, 2021, Virtual Conference