#512FFD 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 #512FFD works with other colors. Named schemes with #512FFD 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 #512FFD 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 #512FFD at work across the surfaces designers actually ship.
:root {
--color-base: #512FFD;
--color-base-rgb: 81 47 253;
--color-base-oklch: oklch(50.8% 0.276 277.6);
--color-50: #F3F0FE;
--color-100: #DED8FD;
--color-200: #BDB1FC;
--color-300: #8D78F7;
--color-400: #6348EA;
--color-500: #4124D1;
--color-600: #38249E;
--color-700: #2D206F;
--color-800: #211948;
--color-900: #16112C;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F3F0FE',
100: '#DED8FD',
200: '#BDB1FC',
300: '#8D78F7',
400: '#6348EA',
500: '#4124D1',
600: '#38249E',
700: '#2D206F',
800: '#211948',
900: '#16112C',
},
}
$base: #512FFD; $base-ink: #FFFFFF; $base-50: #F3F0FE; $base-100: #DED8FD; $base-200: #BDB1FC; $base-300: #8D78F7; $base-400: #6348EA; $base-500: #4124D1; $base-600: #38249E; $base-700: #2D206F; $base-800: #211948; $base-900: #16112C; $base-hover: #2A02EE; $base-subtle: #D0C8F7;
{
"color": {
"base": {
"value": "#512FFD",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F3F0FE",
"type": "color"
},
"100": {
"value": "#DED8FD",
"type": "color"
},
"200": {
"value": "#BDB1FC",
"type": "color"
},
"300": {
"value": "#8D78F7",
"type": "color"
},
"400": {
"value": "#6348EA",
"type": "color"
},
"500": {
"value": "#4124D1",
"type": "color"
},
"600": {
"value": "#38249E",
"type": "color"
},
"700": {
"value": "#2D206F",
"type": "color"
},
"800": {
"value": "#211948",
"type": "color"
},
"900": {
"value": "#16112C",
"type": "color"
}
}
}
}