#5151D6 is a mid-toned, cool violet. 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 #5151D6 works with other colors. Named schemes with #5151D6 in its natural role, and a note on why the supporting colors balance it.
Iris is the vivid signal in this product UI — on a near-black surface with cool white, a slate grey and a lighter tint of Iris.
Iris sits between cream and a deep berry here, softened by a blush accent and grounded by charcoal.
Iris 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 Iris carrying the quiet middle.
Iris opens this coastal palette with sea-glass and warm sand alongside it, grounded by driftwood grey and a deep-navy anchor.
Iris glows at the center of this sunset palette, joined by coral and gold, deepened by a plum anchor and cooled with cream.
How #5151D6 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 #5151D6 at work across the surfaces designers actually ship.
:root {
--color-base: #5151D6;
--color-base-rgb: 81 81 214;
--color-base-oklch: oklch(51.6% 0.199 276.9);
--color-50: #F2F2FD;
--color-100: #DDDDF8;
--color-200: #BDBDEF;
--color-300: #9090E0;
--color-400: #6666CC;
--color-500: #4444B1;
--color-600: #3A3A87;
--color-700: #2E2E60;
--color-800: #22223F;
--color-900: #161627;
--color-on-base: #FFFFFF;
}
// tailwind.config.js
colors: {
iris: {
50: '#F2F2FD',
100: '#DDDDF8',
200: '#BDBDEF',
300: '#9090E0',
400: '#6666CC',
500: '#4444B1',
600: '#3A3A87',
700: '#2E2E60',
800: '#22223F',
900: '#161627',
},
}
$base: #5151D6; $base-ink: #FFFFFF; $base-50: #F2F2FD; $base-100: #DDDDF8; $base-200: #BDBDEF; $base-300: #9090E0; $base-400: #6666CC; $base-500: #4444B1; $base-600: #3A3A87; $base-700: #2E2E60; $base-800: #22223F; $base-900: #161627; $base-hover: #2D2DC0; $base-subtle: #D0D0EE;
{
"color": {
"base": {
"value": "#5151D6",
"type": "color"
},
"onBase": {
"value": "#FFFFFF",
"type": "color"
},
"scale": {
"50": {
"value": "#F2F2FD",
"type": "color"
},
"100": {
"value": "#DDDDF8",
"type": "color"
},
"200": {
"value": "#BDBDEF",
"type": "color"
},
"300": {
"value": "#9090E0",
"type": "color"
},
"400": {
"value": "#6666CC",
"type": "color"
},
"500": {
"value": "#4444B1",
"type": "color"
},
"600": {
"value": "#3A3A87",
"type": "color"
},
"700": {
"value": "#2E2E60",
"type": "color"
},
"800": {
"value": "#22223F",
"type": "color"
},
"900": {
"value": "#161627",
"type": "color"
}
}
}
}