All styles
Neon & Glow

Ultraviolet CSS Button

Free24 lines · no JS · WCAG AA 5.7 · dark only
Open in Studio
Theme

A real <button> carrying .btn-ultraviolet — the preview is the stylesheet, not a picture of it.

States
default
hover
focus-visible
active
disabled
not declared
.btn-ultraviolet {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: #7c3aed;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.35), 0 0 0 6px rgba(124, 58, 237, 0.15), 0 0 20px rgba(124, 58, 237, 0.6);
  transition: box-shadow 0.25s ease;
}
.btn-ultraviolet:hover {
  box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.4), 0 0 0 10px rgba(124, 58, 237, 0.18), 0 0 32px rgba(124, 58, 237, 0.8);
}
.btn-ultraviolet:active {
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.4), 0 0 14px rgba(124, 58, 237, 0.6);
}
.btn-ultraviolet:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 3px;
}
Self-contained · MIT · no build step.btn-ultraviolet
Neon & GlowRounded

Implementation notes

About the Ultraviolet CSS button

Ultraviolet uses luminous contrast designed for dark and futuristic interfaces. Its rounded corners balance product-friendly softness with a clear boundary. Its depth comes from a three-layer shadow. The interaction stays intentionally restrained.

Usage

<button class="btn-ultraviolet">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
Modal81% match

Glass Orbit Decision Modal

Glass Orbit kit

purple paletteGlassmorphism character
Unlock with Pro →
Free sample
Input81% match

Glass Orbit Smart Input

Glass Orbit kit

purple paletteGlassmorphism character
Pro preview
Toggle81% match

Glass Orbit Preference Toggle

Glass Orbit kit

purple paletteGlassmorphism character
Unlock with Pro →
Pro preview
Card81% match

Glass Orbit Feature Card

Glass Orbit kit

purple paletteGlassmorphism character
Unlock with Pro →
Pro preview
Dropdown81% match

Glass Orbit Action Menu

Glass Orbit kit

purple paletteGlassmorphism character
Unlock with Pro →
Pro preview
Form81% match

Glass Orbit Signup Form

Glass Orbit kit

purple paletteGlassmorphism character
Unlock with Pro →
Get the complete Glass Orbit kit
Six coordinated component types, commercial license and future kit updates.
Explore Pro · $39

More styles that match

Neon Fill Violet

Neon Magenta

Plasma Orb

Neon Cyan

Neon Dash

Neon Duotone

Two optional extras load only if you allow them. Every button, preview and line of code works exactly the same either way. What each one does