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
- Enter the Hue (0–360), Saturation (0–100), and Lightness (0–100) values in the HSL input fields.
- Adjust the Alpha slider (0–1) to control transparency — 1 is fully opaque, 0 is fully transparent.
- The equivalent RGBA values and CSS rgba() string update instantly in the output panel.
- A live color swatch previews the exact color, including any transparency.
- Use the color picker to set the hue, saturation, and lightness visually.
- 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