Highlight purple
- Input
- #a855f7
- Expected output
- hsl(270, 91%, 65%)
Good for design tokens and themes.
hex to hsl
Ideal for people who think about color in hue and lightness instead of pure RGB channels.
Good for design tokens and themes.
Another useful UI case.
Yes. The idea is to show equivalent representations of the same color in different notations, making it easier to use the value across CSS, design systems, visual documentation and design-to-code workflows.
Not necessarily. It is simply more intuitive for some visual adjustments.
Yes. The highlighted HSL value is ready to use.
#a855f7hsl(271, 91%, 65%)hsla(271, 91%, 65%, 1)Conversion is purely mathematical and local. Nothing is sent to any server.