phazurlabs/chef-sumi/color-palette-library

Claude Code and agent skill by phazurlabs/chef-sumi

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

500+ curated color palettes with accessibility scores, industry categorization, and production-ready CSS/token values. Covers brand color system design, accessible palette generation using oklch, dark mode color mapping, color combination recipes, and semantic color architecture. Use when the user mentions: color palette, color scheme, brand colors, color system, accessible colors, dark mode colors, color tokens, oklch, color contrast, color combination, color harmony, complementary colors, color psychology, warm palette, cool palette, neutral palette, color picker.

Install

npx vskill@latest install phazurlabs/chef-sumi/color-palette-library

SKILL.md

The same SKILL.md was published earlier as phazurlabs/chef-sumi/color-palette-library.

Color Palette Library — 500+ Curated Palettes

1. Color Science Fundamentals

oklch Color Space

oklch is the recommended color space for modern design systems. It provides perceptual uniformity — meaning equal numeric changes produce equal perceived visual changes — which sRGB and HSL cannot guarantee.

Syntax: oklch(L C H) or oklch(L C H / alpha)

  • L (Lightness): 0% = black, 100% = white. Perceptually uniform — a 10% step always looks like a 10% step.
  • C (Chroma): 0 = achromatic gray, theoretical max ~0.4. Controls saturation intensity.
  • H (Hue): 0-360 degree color wheel. 0=pink, 30=red, 70=orange, 90=yellow, 145=green, 195=cyan, 265=blue, 300=purple, 330=magenta.
Why oklch Over HSL
PropertyHSLoklch
Perceptual uniformityNo — HSL 50% lightness yellow looks far brighter than 50% lightness blueYes — equal L values look equally bright
Chroma independenceNo — saturation 100% yellow vs blue have wildly different perceived intensityYes — equal C values have equal perceived saturation
Hue consistencyHue shifts cause lightness jumpsHue rotation preserves perceived lightness
Gamut mappingClips unpredictablyGraceful fallback with color()
Perceptual Uniformity in Practice

When generating a 10-step scale in HSL, the lightness curve must be manually compensated. In oklch, a linear lightness interpolation produces a visually even ramp. This is critical for accessible design — APCA contrast scores depend on perceived luminance, and oklch's L channel maps directly to perceived luminance.

Wide-Gamut Displays (Display P3)

Display P3 covers ~25% more color volume than sRGB. As of 2025, 90%+ of mobile devices and most modern monitors support P3.

CSS wide-gamut syntax:

css
/* P3 color with sRGB fallback */
.brand-primary {
color: #0066ff; /* sRGB fallback */
color: oklch(55% 0.25 265); /* oklch — browser gamut-maps automatically */
color: color(display-p3 0.1 0.4 1.0); /* Explicit P3 */
}

Gamut mapping strategy:

  1. Author colors in oklch (highest expressiveness)
  2. Browser auto-maps to device gamut
  3. For critical brand colors, provide explicit color(display-p3 ...) and sRGB hex fallback
  4. Test with Chrome DevTools > Rendering > Emulate CSS media feature color-gamut
Color Space Conversion Reference
oklch(72% 0.19 145) → oklab(0.72 -0.14 0.13) → sRGB #4CAF50 → P3 color(display-p3 0.36 0.68 0.35)
oklch(55% 0.25 265) → oklab(0.55 0.04 -0.25) → sRGB #2563EB → P3 color(display-p3 0.14 0.39 0.92)

2. Color Harmony Theory (oklch Formulas)

All harmony formulas operate on the H (hue) channel while preserving L and C for perceptual consistency.

Complementary (180° apart)

Maximum contrast. Use for CTA against background.

Base: oklch(L C H)
Complement: oklch(L C H+180)
Example: oklch(65% 0.22 265) → oklch(65% 0.22 85) /* blue ↔ yellow */
Analogous (±30° spread)

Harmonious, low tension. Ideal for dashboards and content-heavy UIs.

Base: oklch(L C H)
Neighbor 1: oklch(L C H-30)
Neighbor 2: oklch(L C H+30)
Example: oklch(60% 0.20 265) / oklch(60% 0.20 235) / oklch(60% 0.20 295)
/* blue / cyan-blue / violet */
Triadic (120° apart)

Vibrant, balanced. Good for playful brands and data visualization categories.

Base: oklch(L C H)
Second: oklch(L C H+120)
Third: oklch(L C H+240)
Example: oklch(65% 0.18 30) / oklch(65% 0.18 150) / oklch(65% 0.18 270)
/* red / green / blue */
Split-Complementary (150° + 210°)

High contrast without the harshness of direct complementary. Excellent for hero sections.

Base: oklch(L C H)
Split 1: oklch(L C H+150)
Split 2: oklch(L C H+210)
Example: oklch(65% 0.20 265) / oklch(65% 0.20 55) / oklch(65% 0.20 115)
/* blue / orange-gold / green */
Tetradic (Rectangle — 60°, 180°, 240°)

Four-color harmony. Use for complex UIs with multiple semantic categories.

Base: oklch(L C H)
Second: oklch(L C H+60)
Third: oklch(L C H+180)
Fourth: oklch(L C H+240)
Monochromatic (Same H, Vary L and C)

Single hue family. Cleanest aesthetic, easiest accessibility.

Light: oklch(92% 0.04 H)
Mid: oklch(55% 0.18 H)
Dark: oklch(30% 0.12 H)
Square (90° intervals)
Base: oklch(L C H)
Second: oklch(L C H+90)
Third: oklch(L C H+180)
Fourth: oklch(L C H+270)
Practical Harmony Adjustment Rules
  1. Lower chroma for larger areas — backgrounds use C < 0.05, accents use C 0.15-0.30
  2. Vary lightness for hierarchy — primary action at L=55-65%, secondary at L=70-80%
  3. Desaturate one side — in complementary pairs, one color should be lower chroma to avoid visual vibration
  4. Test at grayscale — set C=0 for all colors to verify lightness differentiation alone carries hierarchy

3. Color Psychology by Industry

Tech / SaaS

Primary hues: Blue (trust, reliability), Violet (innovation)

oklch(55% 0.25 265) → #2563EB — Primary blue
oklch(65% 0.22 280) → #7C3AED — Innovation violet
oklch(92% 0.03 265) → #EFF6FF — Surface blue
oklch(25% 0.10 265) → #1E3A5F — Deep blue text
oklch(70% 0.20 175) → #14B8A6 — Accent teal

Associations: professionalism, scalability, clarity. Used by: Stripe, Linear, Vercel.

Fintech / Banking

Primary hues: Deep blue (stability), Green (money/growth), Dark neutrals (authority)

oklch(45% 0.18 265) → #1E40AF — Trust blue
oklch(55% 0.20 155) → #059669 — Growth green
oklch(95% 0.01 265) → #F8FAFC — Clean white surface
oklch(20% 0.05 265) → #0F172A — Authority dark
oklch(65% 0.15 85) → #D4A017 — Premium gold accent

Associations: security, precision, wealth. Used by: Wise, Mercury, Robinhood.

Healthcare / Wellness

Primary hues: Teal (calm trust), Soft green (healing), Warm neutrals

oklch(60% 0.15 185) → #0891B2 — Calm teal
oklch(70% 0.15 155) → #34D399 — Healing green
oklch(93% 0.02 85) → #FFFBEB — Warm surface
oklch(55% 0.08 30) → #9F7A65 — Warm neutral
oklch(80% 0.10 185) → #A7F3D0 — Light mint accent

Associations: compassion, cleanliness, vitality. Used by: One Medical, Headspace, Calm.

E-Commerce / Retail

Primary hues: Orange (urgency/action), Warm red (desire), Bright accents

oklch(65% 0.22 55) → #EA580C — Action orange
oklch(55% 0.24 30) → #DC2626 — Desire red
oklch(90% 0.03 55) → #FFF7ED — Warm surface
oklch(70% 0.20 90) → #EAB308 — Sale yellow
oklch(25% 0.05 30) → #451A03 — Rich dark text

Associations: excitement, scarcity, value. Used by: Shopify, Amazon, Etsy.

Food & Beverage

Primary hues: Warm red-orange (appetite), Yellow-green (freshness), Earth tones

oklch(60% 0.22 40) → #C53030 — Appetite red
oklch(70% 0.20 110) → #84CC16 — Fresh lime green
oklch(75% 0.15 80) → #D69E2E — Honey gold
oklch(55% 0.10 50) → #8B5E3C — Earth brown
oklch(92% 0.04 80) → #FEFCE8 — Cream surface

Associations: freshness, indulgence, natural. Used by: Deliveroo, Sweetgreen, Blue Apron.

Luxury / Fashion

Primary hues: Black (sophistication), Gold (prestige), Muted tones

oklch(15% 0.01 0) → #1A1A1A — Luxury black
oklch(70% 0.12 85) → #C9A84C — Prestige gold
oklch(96% 0.01 0) → #F5F5F5 — Subtle off-white
oklch(55% 0.05 30) → #78716C — Muted stone
oklch(40% 0.08 350) → #6B2737 — Deep burgundy accent

Associations: exclusivity, craftsmanship, timelessness. Used by: SSENSE, Net-a-Porter, Gucci.

Education / EdTech

Primary hues: Friendly blue (learning), Warm yellow (optimism), Accessible green (progress)

oklch(60% 0.20 255) → #3B82F6 — Learning blue
oklch(75% 0.18 90) → #FACC15 — Optimism yellow
oklch(65% 0.18 155) → #22C55E — Progress green
oklch(60% 0.18 310) → #A855F7 — Creative purple
oklch(93% 0.02 255) → #EFF6FF — Soft surface

Associations: curiosity, growth, achievement. Used by: Duolingo, Coursera, Khan Academy.

Gaming / Entertainment

Primary hues: Neon/electric accents, Dark backgrounds, High chroma

oklch(70% 0.30 310) → #D946EF — Neon magenta
oklch(75% 0.28 170) → #06FFA5 — Electric green
oklch(65% 0.25 265) → #6366F1 — Indigo
oklch(12% 0.02 265) → #0A0A1A — Deep dark bg
oklch(80% 0.25 60) → #FB923C — Energy orange

Associations: excitement, immersion, energy. Used by: Discord, Twitch, Epic Games.

Sustainability / Green Tech

Primary hues: Natural green (growth), Earth tones (grounded), Sky blue (clean)

oklch(55% 0.18 150) → #16A34A — Nature green
oklch(65% 0.10 85) → #A3894A — Earth tone
oklch(70% 0.15 210) → #38BDF8 — Clean sky blue
oklch(93% 0.04 150) → #F0FDF4 — Leaf-white surface
oklch(30% 0.10 150) → #14532D — Deep forest text

Associations: responsibility, renewal, transparency. Used by: Ecosia, Patagonia, Tesla Energy.


4. 10-Step Neutral Scale Generation (oklch)

The neutral scale is the backbone of any design system. It provides text, border, background, and surface colors.

Lightness Curve Algorithm

The lightness curve is NOT linear. It uses a perceptual easing that allocates more steps in the mid-range where human vision is most sensitive to differences.

Step L (oklch) Typical Use
----- --------- -----------
50 97% Page background, subtle hover
100 93% Card background, secondary surface
200 87% Divider, disabled background
300 78% Border, input outline
400 66% Placeholder text, disabled text
500 55% Secondary text, icons
600 45% Primary body text (on white)
700 35% Headings, emphasis
800 25% Bold headings, active states
900 18% Near-black text, high contrast
950 12% Maximum contrast text, dark surfaces
Generating a Warm Neutral Scale

Add a hint of chroma in warm hue range (H=60-80, C=0.01-0.03):

css
--neutral-50: oklch(97% 0.01 70); /* #FAF9F7 */
--neutral-100: oklch(93% 0.01 70); /* #F3F1ED */
--neutral-200: oklch(87% 0.01 70); /* #E5E2DC */
--neutral-300: oklch(78% 0.01 70); /* #CCC8C0 */
--neutral-400: oklch(66% 0.01 70); /* #A8A49B */
--neutral-500: oklch(55% 0.01 70); /* #868178 */
--neutral-600: oklch(45% 0.01 70); /* #6B665E */
--neutral-700: oklch(35% 0.01 70); /* #514D47 */
--neutral-800: oklch(25% 0.01 70); /* #393630 */
--neutral-900: oklch(18% 0.008 70); /* #26241F */
--neutral-950: oklch(12% 0.005 70); /* #1A1816 */
Generating a Cool Neutral Scale

Hint of blue (H=250-270, C=0.01-0.02):

css
--neutral-50: oklch(97% 0.01 260); /* #F8FAFC */
--neutral-100: oklch(93% 0.01 260); /* #F1F5F9 */
--neutral-200: oklch(87% 0.015 260); /* #E2E8F0 */
--neutral-300: oklch(78% 0.015 260); /* #CBD5E1 */
--neutral-400: oklch(66% 0.01 260); /* #94A3B8 */
--neutral-500: oklch(55% 0.01 260); /* #64748B */
--neutral-600: oklch(45% 0.01 260); /* #475569 */
--neutral-700: oklch(35% 0.01 260); /* #334155 */
--neutral-800: oklch(25% 0.01 260); /* #1E293B */
--neutral-900: oklch(18% 0.01 260); /* #0F172A */
--neutral-950: oklch(12% 0.008 260); /* #020617 */
Pure Neutral Scale (Zero Chroma)
css
--gray-50: oklch(97% 0 0); /* #F7F7F7 */
--gray-100: oklch(93% 0 0); /* #EDEDED */
--gray-200: oklch(87% 0 0); /* #DBDBDB */
--gray-300: oklch(78% 0 0); /* #C2C2C2 */
--gray-400: oklch(66% 0 0); /* #9E9E9E */
--gray-500: oklch(55% 0 0); /* #7C7C7C */
--gray-600: oklch(45% 0 0); /* #5E5E5E */
--gray-700: oklch(35% 0 0); /* #434343 */
--gray-800: oklch(25% 0 0); /* #2D2D2D */
--gray-900: oklch(18% 0 0); /* #1F1F1F */
--gray-950: oklch(12% 0 0); /* #151515 */

5. 10-Step Brand Color Scale Generation

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/phazurlabs/chef-sumi/color-palette-library/badge)](https://verified-skill.com/skills/phazurlabs/chef-sumi/color-palette-library)

Something wrong with this skill or its page? Tell us.