#BA12E4 is a mid-toned, temperate magenta. 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 #BA12E4 works with other colors. Named schemes with #BA12E4 in its natural role, and a note on why the supporting colors balance it.
Electric Purple sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Electric 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 Electric Purple.
Electric 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 Electric Purple carrying the quiet middle.
Electric Purple glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
Electric Purple plays the worn-leather lead, deepened by saddle brown and an oxblood anchor, softened by aged cream and cooled by a muted forest green.
How #BA12E4 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 #BA12E4 at work across the surfaces designers actually ship.
:root {
--color-base: #BA12E4;
--color-base-rgb: 186 18 228;
--color-base-oklch: oklch(58.6% 0.278 317.3);
--color-50: #FCF0FE;
--color-100: #F6D8FD;
--color-200: #EBB4F9;
--color-300: #D981EE;
--color-400: #C353DF;
--color-500: #A730C5;
--color-600: #812C96;
--color-700: #5C256A;
--color-800: #3D1C45;
--color-900: #26132A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
electric-purple: {
50: '#FCF0FE',
100: '#F6D8FD',
200: '#EBB4F9',
300: '#D981EE',
400: '#C353DF',
500: '#A730C5',
600: '#812C96',
700: '#5C256A',
800: '#3D1C45',
900: '#26132A',
},
}
$base: #BA12E4; $base-ink: #FFFFFF; $base-50: #FCF0FE; $base-100: #F6D8FD; $base-200: #EBB4F9; $base-300: #D981EE; $base-400: #C353DF; $base-500: #A730C5; $base-600: #812C96; $base-700: #5C256A; $base-800: #3D1C45; $base-900: #26132A; $base-hover: #940FB5; $base-subtle: #E7BEF1;
{
"color": {
"base": {
"value": "#BA12E4",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#FCF0FE",
"type": "color"
},
"100": {
"value": "#F6D8FD",
"type": "color"
},
"200": {
"value": "#EBB4F9",
"type": "color"
},
"300": {
"value": "#D981EE",
"type": "color"
},
"400": {
"value": "#C353DF",
"type": "color"
},
"500": {
"value": "#A730C5",
"type": "color"
},
"600": {
"value": "#812C96",
"type": "color"
},
"700": {
"value": "#5C256A",
"type": "color"
},
"800": {
"value": "#3D1C45",
"type": "color"
},
"900": {
"value": "#26132A",
"type": "color"
}
}
}
}