What problem does it solve? Web projects often rely on HSL or hex colors that produce inconsistent perceived brightness, hue drift across palette steps, contrast failures, and gamut clipping on modern displays. This Skill provides rules and references for working in the OKLCH perceptual color space so palettes stay uniform, accessible, and display-safe. ## Core Features & Use Cases - Color Conversion: Convert hex, rgb, and hsl values to oklch with consistent formatting and precision rules. - Palette Generation: Build lightness scales, multi-hue palettes, and dark mode variants with constant hue and percentage-based chroma. - Contrast & Gamut Validation: Check APCA and WCAG contrast ratios, clamp out-of-gamut chroma, and add P3 fallbacks with sRGB defaults. - Tailwind v4 Theming: Author @theme color scales in oklch and define semantic tokens with one meaning per color. - Use Case: When migrating a Tailwind v4 theme from hex to oklch, use this Skill to convert each token, verify every foreground/background pair in both light and dark appearances, and clamp any chroma values that exceed the sRGB gamut. ## Quick Start Convert the hex colors in my Tailwind theme to oklch and check the contrast of every text and background pair in both light and dark mode.