Theme
A real <button> carrying .btn-periwinkle — the preview is the stylesheet, not a picture of it.
States
default
hover
focus-visible
active
disabled
not declared
.btn-periwinkle {
display: inline-block;
padding: 12px 26px;
border: none;
border-radius: 12px;
background: #c7d2fe;
color: #3730a3;
font-family: inherit;
font-size: 15px;
font-weight: 600;
cursor: pointer;
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
transition: background 0.2s ease, box-shadow 0.2s ease;
}
.btn-periwinkle:hover {
background: #a5b4fc;
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-periwinkle:active {
box-shadow: none;
}
.btn-periwinkle:focus-visible {
outline: 2px solid currentColor;
outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-periwinkle
PastelRounded
Implementation notes
About the Periwinkle CSS button
Periwinkle uses a soft color treatment for friendly and approachable interfaces. Its rounded corners balance product-friendly softness with a clear boundary. The interaction stays intentionally restrained.
Usage
<button class="btn-periwinkle">Button</button>Pair it with the CSS tab above — the class is self-contained.
Before shipping: keep the semantic button element, verify contrast on your actual background and add a visible
:focus-visible state. If you retain motion, include a prefers-reduced-motion override.- Built with
- HTML + plain CSS
- Shape
- Rounded
- Exports
- CSS, Tailwind, React
- License
- MIT · commercial use
Complete the look
Build the interface around this button
We matched its palette, surface, geometry and motion to a complete UI system — like composing an outfit, not browsing unrelated parts.
Style DNA · v1
How matching works →Pro preview
Free sample
Input84% match
Soft Bloom Smart Input
Soft Bloom kit
Pastel charactersoft surface
Pro preview
Toggle84% match
Soft Bloom Preference Toggle
Soft Bloom kit
Pastel charactersoft surface
Unlock with Pro →Pro preview
Pro preview
Pro preview
Get the complete Soft Bloom kit
Six coordinated component types, commercial license and future kit updates.