HSL to RGBA Converter

Enter HSL values plus an optional alpha to get the equivalent RGBA color string with a live preview and one-click copy.

HSL + Alpha Input

hsl(210, 80%, 55%)

RGBA Output

Channel Levels

R
30
G
144
B
230
A
1.00

Hex Equivalent

Copied!

Summary

Enter HSL values plus an optional alpha to get the equivalent RGBA color string with a live preview and one-click copy.

How it works

  1. Enter the Hue (0–360), Saturation (0–100), and Lightness (0–100) values in the HSL input fields.
  2. Adjust the Alpha slider (0–1) to control transparency — 1 is fully opaque, 0 is fully transparent.
  3. The equivalent RGBA values and CSS rgba() string update instantly in the output panel.
  4. A live color swatch previews the exact color, including any transparency.
  5. Use the color picker to set the hue, saturation, and lightness visually.
  6. Click Copy to grab the formatted rgba() string for use in your CSS or design tool.

Use cases

  • Convert CSS hsl() colors to rgba() for libraries that require RGBA input.
  • Add transparency to an existing HSL color without converting manually.
  • Translate design-tool HSL values into CSS-ready rgba() strings.
  • Build color palettes with consistent hue and varying alpha levels.
  • Verify color conversions when debugging cross-format styling issues.
  • Generate semi-transparent overlays and background tints from brand HSL colors.
  • Cross-reference color values between design tokens in HSL and component libraries expecting RGBA.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu