#8A12CB is a mid-toned, cool magenta. 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 #8A12CB works with other colors. Named schemes with #8A12CB in its natural role, and a note on why the supporting colors balance it.
Dark Violet sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Dark Violet is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Dark Violet.
Dark Violet 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 Dark Violet carrying the quiet middle.
Dark Violet opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Dark Violet glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #8A12CB 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 #8A12CB at work across the surfaces designers actually ship.
:root {
--color-base: #8A12CB;
--color-base-rgb: 138 18 203;
--color-base-oklch: oklch(50.0% 0.246 307.9);
--color-50: #F9F0FE;
--color-100: #F0D8FD;
--color-200: #E0B4F8;
--color-300: #C881EE;
--color-400: #AE53DF;
--color-500: #9130C4;
--color-600: #712D95;
--color-700: #522569;
--color-800: #371C45;
--color-900: #22132A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
dark-violet: {
50: '#F9F0FE',
100: '#F0D8FD',
200: '#E0B4F8',
300: '#C881EE',
400: '#AE53DF',
500: '#9130C4',
600: '#712D95',
700: '#522569',
800: '#371C45',
900: '#22132A',
},
}
$base: #8A12CB; $base-ink: #FFFFFF; $base-50: #F9F0FE; $base-100: #F0D8FD; $base-200: #E0B4F8; $base-300: #C881EE; $base-400: #AE53DF; $base-500: #9130C4; $base-600: #712D95; $base-700: #522569; $base-800: #371C45; $base-900: #22132A; $base-hover: #6E0EA1; $base-subtle: #DCB8EF;
{
"color": {
"base": {
"value": "#8A12CB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F9F0FE",
"type": "color"
},
"100": {
"value": "#F0D8FD",
"type": "color"
},
"200": {
"value": "#E0B4F8",
"type": "color"
},
"300": {
"value": "#C881EE",
"type": "color"
},
"400": {
"value": "#AE53DF",
"type": "color"
},
"500": {
"value": "#9130C4",
"type": "color"
},
"600": {
"value": "#712D95",
"type": "color"
},
"700": {
"value": "#522569",
"type": "color"
},
"800": {
"value": "#371C45",
"type": "color"
},
"900": {
"value": "#22132A",
"type": "color"
}
}
}
}