βοΈ HSL Color Wheel Harmonies & WCAG 2.1 Relative Luminance Math
Choosing cohesive UI colors and ensuring text legibility requires mathematical precision rather than guesswork. By converting sRGB channels into the cylindrical HSL (Hue, Saturation, Lightness) coordinate space, our studio computes exact geometric rotations (`+180Β°` Complementary, `Β±30Β°` Analogous, `Β±120Β°` Triadic) and lightness scales.
Simultaneously, the built-in WCAG 2.1 contrast auditor calculates relative luminance ($L = 0.2126R + 0.7152G + 0.0722B$) and evaluates the contrast ratio $(L_1 + 0.05) / (L_2 + 0.05)$ against AA and AAA accessibility standards.
π Technical Specifications & Architecture
| Color Spaces | HEX (#RRGGBB), sRGB, HSL |
|---|---|
| Harmony Algorithms | Complementary, Analogous, Triadic, Monochromatic |
| Accessibility Standard | W3C WCAG 2.1 Level AA (4.5:1) & AAA (7:1) |
| Workflow | 1-Click Swatch Copy & Live Contrast Preview |