HEX to HSL Converter

Convert a hex colour into hue, saturation and lightness.

πŸ”’ Runs in your browser⚑ Instant resultsπŸ†“ Free, no sign-up

How to use HEX to HSL Converter

  1. Pick a colour with the colour box, or type a code such as #4f46e5, rgb(79, 70, 229) or a name like tomato.
  2. The results update instantly.
  3. Click Copy or any colour swatch to copy its code.

What is it good for?

Convert a hex colour into hue, saturation and lightness.

Designers and developers move between colour formats constantly, and getting a conversion even slightly wrong can make a brand colour look off. People most often reach for it when building a palette for a website or presentation, checking that text is readable on a background and converting design-tool values into CSS.

See it in action

For example, the colour #8A2BE2 comes out like this:

ResultHEX: #8A2BE2 RGB: rgb(138, 43, 226) HSL: hsl(271, 76%, 53%) HSV: hsv(271, 81%, 89%) CMYK: cmyk(39%, 81%, 0%, 11%) Nearest name: rebeccapurple
Good to know. HSL is easier to tweak by hand. Raise lightness for a tint and lower it for a shade.

Using it day to day

Use the copy and download buttons where they appear. They save you from selecting text by hand, which is easy to get wrong on a phone.

If something does not look right, reload the page and try again with a simple example. That tells you quickly whether the issue is the input or the setup.

Privacy

Colours are calculated in your browser. Nothing leaves your device.

Frequently asked questions

Is HEX to HSL Converter free to use?

Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.

Is my data safe when I use HEX to HSL Converter?

Colours are calculated in your browser. Nothing is uploaded.

Does HEX to HSL Converter work on my phone?

Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.

Any tips for using HEX to HSL Converter?

HSL is easier to tweak by hand. Raise lightness for a tint and lower it for a shade.