HSV To HSL

Convert HSV hue, saturation, and value to HSL hue, saturation, and lightness.








hsl(120, 50%, 50%)

Reverse Conversion

HSL to HSV

How This Converter Works

Converts HSV hue, saturation, and value to HSL hue, saturation, and lightness, rounding output percentages to whole numbers.

Formula or rule

Normalize S and V to [0,1]; L=V×(1-S/2), and HSL saturation is 0 when L is 0 or 1, otherwise (V-L)/min(L,1-L). Hue is unchanged.

Example

Input
H=120°, S=67%, V=75%
Calculation
L=0.75×(1-0.67/2)=0.49875≈50%; HSL S≈(0.75-0.49875)/0.49875≈50%.
Result
hsl(120, 50%, 50%)