At present, insufficient color optimization in the art design of housing space often leads to a less than ideal user visual experience. In view of the above problems, a housing space color optimization model based on virtual reality technology is proposed. Under the support of the principle of housing space color optimization and the theory of composition and layout, the overall image of the housing space scene is started to be collected using a camera acquisition, and the key points of the image in two dimensions are converted into the key points in three dimensions, after which the housing space scene model is constructed. The color of the housing space is matched by the way of cross-section ring blending, so as to achieve a better housing space color scheme design, and complete the light effect rendering processing work of housing space color design. Combining the above theoretical knowledge, the color optimization effect and visual experience of a housing construction project are evaluated and analyzed. The average gradient and image quality index of this paper’s method are 25.82 and 0.87 respectively, which are much better than the other two methods, proving the application effect of this paper’s method. In addition the average value of visual experience of creative users for color design scheme two is 3.84 points, which is better than scheme one, and scheme two as a whole is a bright hue with high luminance and high purity, which is more in line with the visual experience standard of creative users.