AI Spectrum Color Palette
Product-ready palettes with a strong primary, a clear accent and readable neutrals. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.
Color codes
| Colour | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
Contrast
WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.
Aa#0f172a on #f5f3ff16.28:1 · AAA
Aa#0f172a on #06b6d47.35:1 · AAA
Aa#0f172a on #a78bfa6.56:1 · AA
Aa#6366f1 on #f5f3ff4.07:1 · AA large
CSS variables
:root {
--ai-gradient-1: #f5f3ff;
--ai-gradient-2: #a78bfa;
--ai-gradient-3: #6366f1;
--ai-gradient-4: #06b6d4;
--ai-gradient-5: #0f172a;
}Tailwind CSS
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ai-gradient': {
100: '#f5f3ff',
200: '#a78bfa',
300: '#6366f1',
400: '#06b6d4',
500: '#0f172a',
},
},
},
},
};FAQ
What colors are in the AI Spectrum palette?
AI Spectrum uses #f5f3ff, #a78bfa, #6366f1, #06b6d4, #0f172a.
Which colors in AI Spectrum work for text?
The strongest pair is #f5f3ff and #0f172a with a contrast ratio of 16.28:1 (AAA).