Violet to Orange gradient and UI scale
CSS linear-gradient
linear-gradient(135deg in oklch, oklch(0.64 0.13 255), oklch(0.64 0.12 45))Sandbox
Open Violet to 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
Violet to Orange
PlaySkipLow spaceRemove
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 Violet to Orange is built
Hue distance
Violet to Orange sets Violet against 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 Violet to Orange gradient, then use the Violet scale for controls and the neutral tokens for cards.