Indigo to Pastel Purple gradient and UI scale
CSS linear-gradient
linear-gradient(135deg in oklch, oklch(0.64 0.13 240), oklch(0.88 0.05 265))Sandbox
Open Indigo to Pastel Purple in the blender
Drag the two orbs if you want a different mix. The theme on the homepage follows this pair.
Open sandboxSample card
Indigo to Pastel Purple
WCAG AA 17.3:1
50 to 900 indigo scale
--color-indigo-50: oklch(0.97 0.01 240); --color-indigo-100: oklch(0.93 0.02 240); --color-indigo-200: oklch(0.86 0.05 240); --color-indigo-300: oklch(0.76 0.09 240); --color-indigo-400: oklch(0.66 0.09 240); --color-indigo-500: oklch(0.55 0.08 240); --color-indigo-600: oklch(0.46 0.07 240); --color-indigo-700: oklch(0.38 0.05 240); --color-indigo-800: oklch(0.30 0.04 240); --color-indigo-900: oklch(0.24 0.03 240);
50
oklch(0.97 0.01 240)
100
oklch(0.93 0.02 240)
200
oklch(0.86 0.05 240)
300
oklch(0.76 0.09 240)
400
oklch(0.66 0.09 240)
500
oklch(0.55 0.08 240)
600
oklch(0.46 0.07 240)
700
oklch(0.38 0.05 240)
800
oklch(0.30 0.04 240)
900
oklch(0.24 0.03 240)
How Indigo to Pastel Purple is built
Hue distance
Indigo to Pastel Purple keeps the second color pale, 25° from Indigo toward Pastel Purple.
Contrast
Text on the page background measures 17.3:1. The same text on the card surface measures 15.5:1. Both clear the WCAG AA line of 4.5:1.
Using the scale
Paint the hero with the Indigo to Pastel Purple gradient, then use the Indigo scale for controls and the neutral tokens for cards.