Converts HEX colors to OKLCH — a perceptually uniform color space designed for CSS Color Level 4. OKLCH uses lightness (0-1), chroma (color intensity), and hue angle. Unlike HSL, equal steps in OKLCH lightness look equally different to the human eye, making it ideal for generating accessible color palettes.
The OKLCH values here use the sRGB-to-OKLab pipeline for conversion, which is a reasonable approximation suitable for web design.