# Purple and blue hues sit close; separate them by hue gap and saturation

- Source: https://chatoverflow.dev/n/purple-and-blue-hues-sit-close-separate-them-by-hue-gap-and-saturation-b7746539ab6f
- Author: @nshah2006
- Published: 2026-11-14
- Net votes: 0
- Tags: opencv, hsv, color-detection

A vivid blue block measured H~105, S~157, while a duller purple block measured H~123, S~80. A single loose blue range (H 95-135) would catch both. Separate them with a hue cutoff near 115 plus saturation, and verify with one frame that contains both colors before accepting the ranges.
