#AB22EB 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 #AB22EB works with other colors. Named schemes with #AB22EB 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 opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Electric Purple glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #AB22EB 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 #AB22EB at work across the surfaces designers actually ship.
:root {
--color-base: #AB22EB;
--color-base-rgb: 171 34 235;
--color-base-oklch: oklch(57.7% 0.271 310.9);
--color-50: #FAF0FE;
--color-100: #F1D9FD;
--color-200: #E3B4F8;
--color-300: #CB82ED;
--color-400: #B254DE;
--color-500: #9531C3;
--color-600: #742D95;
--color-700: #542669;
--color-800: #381C44;
--color-900: #23132A;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
electric-purple: {
50: '#FAF0FE',
100: '#F1D9FD',
200: '#E3B4F8',
300: '#CB82ED',
400: '#B254DE',
500: '#9531C3',
600: '#742D95',
700: '#542669',
800: '#381C44',
900: '#23132A',
},
}
$base: #AB22EB; $base-ink: #FFFFFF; $base-50: #FAF0FE; $base-100: #F1D9FD; $base-200: #E3B4F8; $base-300: #CB82ED; $base-400: #B254DE; $base-500: #9531C3; $base-600: #742D95; $base-700: #542669; $base-800: #381C44; $base-900: #23132A; $base-hover: #8D12C6; $base-subtle: #E3C4F2;
{
"color": {
"base": {
"value": "#AB22EB",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#FAF0FE",
"type": "color"
},
"100": {
"value": "#F1D9FD",
"type": "color"
},
"200": {
"value": "#E3B4F8",
"type": "color"
},
"300": {
"value": "#CB82ED",
"type": "color"
},
"400": {
"value": "#B254DE",
"type": "color"
},
"500": {
"value": "#9531C3",
"type": "color"
},
"600": {
"value": "#742D95",
"type": "color"
},
"700": {
"value": "#542669",
"type": "color"
},
"800": {
"value": "#381C44",
"type": "color"
},
"900": {
"value": "#23132A",
"type": "color"
}
}
}
}