#540EDF is a mid-toned, cool purple. On the Color Lab it reads clean and engineered, bold and ownable. It sits well as a supporting tone.
Not just a swatch — here's how #540EDF works with other colors. Named schemes with #540EDF in its natural role, and a note on why the supporting colors balance it.
Han Purple is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Han Purple.
Han Purple sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Han Purple is the single accent in this high-contrast editorial system — set on near-white paper against near-black ink, with a warm grey and a desaturated tint of Han Purple carrying the quiet middle.
Han Purple opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Han Purple glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #540EDF actually behaves in design work — read from its OKLCH lightness, chroma and hue, not just its raw numbers. Ten signals to help you decide where this color earns its place.
Not a swatch to memorise — a color to build with. Here is #540EDF at work across the surfaces designers actually ship.
:root {
--color-base: #540EDF;
--color-base-rgb: 84 14 223;
--color-base-oklch: oklch(45.6% 0.262 283.5);
--color-50: #F5F0FE;
--color-100: #E4D8FD;
--color-200: #CAB2FA;
--color-300: #A57FF0;
--color-400: #8150E2;
--color-500: #612DC8;
--color-600: #4F2A98;
--color-700: #3C246B;
--color-800: #291B46;
--color-900: #1B132B;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F5F0FE',
100: '#E4D8FD',
200: '#CAB2FA',
300: '#A57FF0',
400: '#8150E2',
500: '#612DC8',
600: '#4F2A98',
700: '#3C246B',
800: '#291B46',
900: '#1B132B',
},
}
$base: #540EDF; $base-ink: #FFFFFF; $base-50: #F5F0FE; $base-100: #E4D8FD; $base-200: #CAB2FA; $base-300: #A57FF0; $base-400: #8150E2; $base-500: #612DC8; $base-600: #4F2A98; $base-700: #3C246B; $base-800: #291B46; $base-900: #1B132B; $base-hover: #420BB0; $base-subtle: #CCBAF1;
{
"color": {
"base": {
"value": "#540EDF",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F0FE",
"type": "color"
},
"100": {
"value": "#E4D8FD",
"type": "color"
},
"200": {
"value": "#CAB2FA",
"type": "color"
},
"300": {
"value": "#A57FF0",
"type": "color"
},
"400": {
"value": "#8150E2",
"type": "color"
},
"500": {
"value": "#612DC8",
"type": "color"
},
"600": {
"value": "#4F2A98",
"type": "color"
},
"700": {
"value": "#3C246B",
"type": "color"
},
"800": {
"value": "#291B46",
"type": "color"
},
"900": {
"value": "#1B132B",
"type": "color"
}
}
}
}