#AF87EC is a mid-toned, cool magenta. On the Color Lab it reads clean and engineered. It carries a legible label as a UI accent and reproduces cleanly in print.
Not just a swatch — here's how #AF87EC works with other colors. Named schemes with #AF87EC in its natural role, and a note on why the supporting colors balance it.
Medium Purple opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Medium Purple keeps this Nordic scheme quiet — cool greys and a soft white around it, a muted-blue support and a charcoal anchor.
Medium Purple sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Medium 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 Medium Purple carrying the quiet middle.
Medium 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 Medium Purple.
How #AF87EC 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 #AF87EC at work across the surfaces designers actually ship.
:root {
--color-base: #AF87EC;
--color-base-rgb: 175 135 236;
--color-base-oklch: oklch(70.2% 0.148 300.9);
--color-50: #F6F1FD;
--color-100: #E7DBFA;
--color-200: #D0B9F4;
--color-300: #AE88E7;
--color-400: #8D5DD5;
--color-500: #6E3ABB;
--color-600: #58338E;
--color-700: #422A65;
--color-800: #2D1F42;
--color-900: #1D1528;
--color-on-base: #141310;
}
// tailwind.config.js
colors: {
medium-purple: {
50: '#F6F1FD',
100: '#E7DBFA',
200: '#D0B9F4',
300: '#AE88E7',
400: '#8D5DD5',
500: '#6E3ABB',
600: '#58338E',
700: '#422A65',
800: '#2D1F42',
900: '#1D1528',
},
}
$base: #AF87EC; $base-ink: #141310; $base-50: #F6F1FD; $base-100: #E7DBFA; $base-200: #D0B9F4; $base-300: #AE88E7; $base-400: #8D5DD5; $base-500: #6E3ABB; $base-600: #58338E; $base-700: #422A65; $base-800: #2D1F42; $base-900: #1D1528; $base-hover: #8547E2; $base-subtle: #E8DFF6;
{
"color": {
"base": {
"value": "#AF87EC",
"type": "color"
},
"onBase": {
"value": "#141310",
"type": "color"
},
"scale": {
"50": {
"value": "#F6F1FD",
"type": "color"
},
"100": {
"value": "#E7DBFA",
"type": "color"
},
"200": {
"value": "#D0B9F4",
"type": "color"
},
"300": {
"value": "#AE88E7",
"type": "color"
},
"400": {
"value": "#8D5DD5",
"type": "color"
},
"500": {
"value": "#6E3ABB",
"type": "color"
},
"600": {
"value": "#58338E",
"type": "color"
},
"700": {
"value": "#422A65",
"type": "color"
},
"800": {
"value": "#2D1F42",
"type": "color"
},
"900": {
"value": "#1D1528",
"type": "color"
}
}
}
}