#512AEC is a mid-toned, cool violet. 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 #512AEC works with other colors. Named schemes with #512AEC 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 #512AEC 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 #512AEC at work across the surfaces designers actually ship.
:root {
--color-base: #512AEC;
--color-base-rgb: 81 42 236;
--color-base-oklch: oklch(48.6% 0.262 279.6);
--color-50: #F3F0FE;
--color-100: #E0D8FD;
--color-200: #C2B4F8;
--color-300: #9781EE;
--color-400: #6F53DF;
--color-500: #4E30C4;
--color-600: #422D95;
--color-700: #332569;
--color-800: #241C45;
--color-900: #18132A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F3F0FE',
100: '#E0D8FD',
200: '#C2B4F8',
300: '#9781EE',
400: '#6F53DF',
500: '#4E30C4',
600: '#422D95',
700: '#332569',
800: '#241C45',
900: '#18132A',
},
}
$base: #512AEC; $base-ink: #FFFFFF; $base-50: #F3F0FE; $base-100: #E0D8FD; $base-200: #C2B4F8; $base-300: #9781EE; $base-400: #6F53DF; $base-500: #4E30C4; $base-600: #422D95; $base-700: #332569; $base-800: #241C45; $base-900: #18132A; $base-hover: #3812CE; $base-subtle: #CFC7F3;
{
"color": {
"base": {
"value": "#512AEC",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F0FE",
"type": "color"
},
"100": {
"value": "#E0D8FD",
"type": "color"
},
"200": {
"value": "#C2B4F8",
"type": "color"
},
"300": {
"value": "#9781EE",
"type": "color"
},
"400": {
"value": "#6F53DF",
"type": "color"
},
"500": {
"value": "#4E30C4",
"type": "color"
},
"600": {
"value": "#422D95",
"type": "color"
},
"700": {
"value": "#332569",
"type": "color"
},
"800": {
"value": "#241C45",
"type": "color"
},
"900": {
"value": "#18132A",
"type": "color"
}
}
}
}