RGBA to HSL Converter
Enter RGBA values and instantly get the equivalent HSL color with a live preview swatch.
RGBA Input
Color Preview
rgba(99, 149, 237, 1)
HSL Output
Hue
222°
Saturation
80%
Lightness
66%
CSS hsl()
hsl(222, 80%, 66%)
CSS hsla()
hsla(222, 80%, 66%, 1)
Summary
Enter RGBA values and instantly get the equivalent HSL color with a live preview swatch.
How it works
- Enter the Red value (0 to 255) in the R field.
- Enter the Green value (0 to 255) in the G field.
- Enter the Blue value (0 to 255) in the B field.
- Enter the Alpha value (0 to 1) in the A field.
- The HSL output and color preview update instantly.
- Click any Copy button to copy the value to your clipboard.
Use cases
- Convert design tool RGBA colors to CSS HSL variables.
- Build color palettes that are easier to reason about with HSL.
- Translate colors from image editors to web-safe CSS format.
- Verify hue and lightness relationships between two shades.
- Generate CSS hsla() strings directly from RGBA inputs.
- Learn how RGB and HSL represent the same color differently.
Frequently Asked Questions
Related tools
Last updated: 2026-05-28 ·
Reviewed by Nham Vu