#6228D7 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 #6228D7 works with other colors. Named schemes with #6228D7 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 #6228D7 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 #6228D7 at work across the surfaces designers actually ship.
:root {
--color-base: #6228D7;
--color-base-rgb: 98 40 215;
--color-base-oklch: oklch(47.8% 0.239 288.7);
--color-50: #F5F2FD;
--color-100: #E6DCF9;
--color-200: #CDBAF2;
--color-300: #A98BE4;
--color-400: #8660D2;
--color-500: #663EB7;
--color-600: #53368C;
--color-700: #3E2C63;
--color-800: #2B2041;
--color-900: #1B1528;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
han-purple: {
50: '#F5F2FD',
100: '#E6DCF9',
200: '#CDBAF2',
300: '#A98BE4',
400: '#8660D2',
500: '#663EB7',
600: '#53368C',
700: '#3E2C63',
800: '#2B2041',
900: '#1B1528',
},
}
$base: #6228D7; $base-ink: #FFFFFF; $base-50: #F5F2FD; $base-100: #E6DCF9; $base-200: #CDBAF2; $base-300: #A98BE4; $base-400: #8660D2; $base-500: #663EB7; $base-600: #53368C; $base-700: #3E2C63; $base-800: #2B2041; $base-900: #1B1528; $base-hover: #4F20AC; $base-subtle: #D2C5ED;
{
"color": {
"base": {
"value": "#6228D7",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F5F2FD",
"type": "color"
},
"100": {
"value": "#E6DCF9",
"type": "color"
},
"200": {
"value": "#CDBAF2",
"type": "color"
},
"300": {
"value": "#A98BE4",
"type": "color"
},
"400": {
"value": "#8660D2",
"type": "color"
},
"500": {
"value": "#663EB7",
"type": "color"
},
"600": {
"value": "#53368C",
"type": "color"
},
"700": {
"value": "#3E2C63",
"type": "color"
},
"800": {
"value": "#2B2041",
"type": "color"
},
"900": {
"value": "#1B1528",
"type": "color"
}
}
}
}