Pastel Violet to Pastel Orange gradient and UI scale
CSS linear-gradient
linear-gradient(135deg in oklch, oklch(0.84 0.06 255), oklch(0.84 0.06 45))Sandbox
Open Pastel Violet to Pastel Orange in the blender
Drag the two orbs if you want a different mix. The theme on the homepage follows this pair.
Open sandboxSample card
Pastel Violet to Pastel Orange
WCAG AA 17.22:1
50 to 900 violet scale
--color-violet-50: oklch(0.97 0.01 255); --color-violet-100: oklch(0.93 0.02 255); --color-violet-200: oklch(0.86 0.04 255); --color-violet-300: oklch(0.76 0.08 255); --color-violet-400: oklch(0.66 0.11 255); --color-violet-500: oklch(0.55 0.11 255); --color-violet-600: oklch(0.46 0.09 255); --color-violet-700: oklch(0.38 0.08 255); --color-violet-800: oklch(0.30 0.06 255); --color-violet-900: oklch(0.24 0.05 255);
50
oklch(0.97 0.01 255)
100
oklch(0.93 0.02 255)
200
oklch(0.86 0.04 255)
300
oklch(0.76 0.08 255)
400
oklch(0.66 0.11 255)
500
oklch(0.55 0.11 255)
600
oklch(0.46 0.09 255)
700
oklch(0.38 0.08 255)
800
oklch(0.30 0.06 255)
900
oklch(0.24 0.05 255)
How Pastel Violet to Pastel Orange is built
Hue distance
Pastel Violet to Pastel Orange sets Pastel Violet against Pastel Orange, 150° apart on the OKLCH hue wheel.
Contrast
Text on the page background measures 17.2:1. The same text on the card surface measures 15.4:1. Both clear the WCAG AA line of 4.5:1.
Using the scale
Paint the hero with the Pastel Violet to Pastel Orange gradient, then use the Pastel Violet scale for controls and the neutral tokens for cards.