#512BDB is a mid-toned, cool purple. On the Color Lab it reads clean and engineered, bold and ownable. It carries a legible label as a UI accent and sits well as a supporting tone.
Not just a swatch — here's how #512BDB works with other colors. Named schemes with #512BDB 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 #512BDB 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 #512BDB at work across the surfaces designers actually ship.
:root {
--color-base: #512BDB;
--color-base-rgb: 81 43 219;
--color-base-oklch: oklch(46.9% 0.243 281.5);
--color-50: #F4F1FD;
--color-100: #E2DBFA;
--color-200: #C6B9F3;
--color-300: #9E8AE5;
--color-400: #785ED4;
--color-500: #573CB9;
--color-600: #48358D;
--color-700: #372B64;
--color-800: #271F42;
--color-900: #191528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F4F1FD',
100: '#E2DBFA',
200: '#C6B9F3',
300: '#9E8AE5',
400: '#785ED4',
500: '#573CB9',
600: '#48358D',
700: '#372B64',
800: '#271F42',
900: '#191528',
},
}
$base: #512BDB; $base-ink: #FFFFFF; $base-50: #F4F1FD; $base-100: #E2DBFA; $base-200: #C6B9F3; $base-300: #9E8AE5; $base-400: #785ED4; $base-500: #573CB9; $base-600: #48358D; $base-700: #372B64; $base-800: #271F42; $base-900: #191528; $base-hover: #3E1EB2; $base-subtle: #CEC5EE;
{
"color": {
"base": {
"value": "#512BDB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F4F1FD",
"type": "color"
},
"100": {
"value": "#E2DBFA",
"type": "color"
},
"200": {
"value": "#C6B9F3",
"type": "color"
},
"300": {
"value": "#9E8AE5",
"type": "color"
},
"400": {
"value": "#785ED4",
"type": "color"
},
"500": {
"value": "#573CB9",
"type": "color"
},
"600": {
"value": "#48358D",
"type": "color"
},
"700": {
"value": "#372B64",
"type": "color"
},
"800": {
"value": "#271F42",
"type": "color"
},
"900": {
"value": "#191528",
"type": "color"
}
}
}
}