Highlight purple
- Input
- #a855f7
- Expected output
- hsl(271, 91%, 65%)
Lightness at 65%, above the midpoint, is why this purple reads as light rather than as its most saturated version.
hex to hsl
HSL describes the same color HEX does, in a different way: instead of three light channels, it uses a hue angle and two percentages. This page starts from #a855f7 and shows the angle, saturation and lightness that come out of it, useful for anyone adjusting a theme by lightness instead of channel by channel.
Lightness at 65%, above the midpoint, is why this purple reads as light rather than as its most saturated version.
At 53% lightness, close to the midpoint of the scale, this color sits near the purest orange of that hue.
Hue 0°, saturation 100% and lightness at exactly 50%: this is the textbook case showing the purest version of a hue.
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. You type in one format and get all the others synchronized at once, including HSV, CMYK, LAB and XYZ.
Because they are different formulas over the same RGB channels. HSL lightness is the average of the highest and lowest channel, so pure white sits at 100% and black at 0%, while HSV value uses only the highest channel, so black and a fully saturated color can share the same high value.
Not in the final result. The color wheel has exactly 360 degrees and the calculation always normalizes the angle into that range, so 370° and 10° describe the same hue and the converter always returns a value between 0 and 359.
Because hue is rounded to the nearest whole degree, and the division behind that number is rarely exact. A one-degree gap, like 270° versus 271°, usually comes from where each implementation rounds, not from a conversion error.
#a855f7hsl(271, 91%, 65%)hsla(271, 91%, 65%, 1)Conversion is purely mathematical and local. Nothing is sent to any server.