HCL Color Space

Hue-Chroma-Luminance

Quick Note

Once I had the question – What is the color space often used in data visualization to address issues of color perception and color blindness? I found the correct answer as:

HCL (Hue-Chroma-Luminance) color space

With that I thought of sharing what I have found.

Key Details About HCL

  • Perceptually Based: HCL is designed to align with how human eyes perceive color, specifically by focusing on L (lightness) to ensure that differences in intensity are not lost to color-blind users or when printed in grayscale.
  • Components:
    • Hue (H): The color type (e.g., red, blue).
    • Chroma (C): The intensity or purity of the color.
    • Luminance (L): The brightness or darkness of the color.
  • Advantages: It enables the creation of “color-blind friendly” palettes and “perceptually uniform” gradients, allowing accurate data interpretation. 

Other Related Color Spaces

  • CIELAB (or Lab):* HCL is often derived from the CIELAB color space, which is also designed to be perceptually uniform.
  • Viridis: A specific sequential colormap (often implemented in Python/R) that is highly favored for being perceptually uniform and color-blind friendly. 

HCL color spaces are frequently used to replace the standard “rainbow” (or jet) color scale, which is often criticized for being misleading because its brightness changes unevenly, obscuring the underlying data.

LCH Lightness vs HSL Lightness

Lightness describes the relative brightness of a color. However, each space goes about it differently.

  • HSL lightness resembles the amount of black or white added to a pure color. For example, a light blue color can be created by adding white to a pure blue hue.
  • LCH lightness describes the relative brightness of a color compared to a similarly illuminated white.

In the example below we see the same hue of Blue and Yellow represented in HSL and LCH. Each shade has maximum chroma or saturation and we are only changing the lightness value.

https://atmos.style/blog/lch-color-space

Software Engineer & Data Science| SQL, Analytics, and AI Solutions

Nuwan Hettiarachchi

I bring strong experience in data analytics and data engineering, with a focus on SQL-driven data preparation, data quality, and scalable processing pipelines. My background includes working with large, complex datasets, supporting business intelligence, and applying data governance principles such as profiling, lineage, and documentation. I am known for collaborating effectively across teams to design clear, reliable data solutions that support informed decision-making.

My Story

From Curiosity to Craft: My Journey in Technology and Analytics

My name is Nuwan Hettiarachchi, and my journey has been guided by curiosity, service, and a strong belief in using technology to create meaningful impact.

I began my professional path working closely with data, systems, and people. Early on, I realized that I enjoyed solving practical problems—especially those where analytical thinking and real-world needs intersect. This led me into data analytics, automation, and software development, where I’ve spent years building tools that improve accuracy, efficiency, and decision-making.

A defining part of my journey has been 10 years of volunteer teaching at a charitable organization. Teaching reinforced my belief that knowledge is most powerful when shared. It strengthened my communication skills, patience, and ability to break down complex ideas—skills that continue to shape how I design systems and collaborate with teams today.

Professionally, I’ve worked across data analysis, reporting, and application development. One notable experience was developing a Human Resources appraisal system over two years using Visual Basic and SQL Server, where I translated business rules into reliable, user-friendly software. Projects like this deepened my appreciation for clean data, thoughtful design, and systems that support people—not just processes.

Over time, my work expanded into Python, SQL databases, analytics, and automation, with a growing focus on data integrity and insight-driven solutions. I enjoy building tools that reduce manual effort, surface meaningful patterns, and enable better decisions.

Outside of work, I value balance and mindfulness. I enjoy hiking, traveling, kayaking, and spending time in nature—activities that keep me grounded and curious.

Today, I’m focused on contributing within data science and analytics–driven environments, continuing to learn, mentor, and build solutions that are practical, ethical, and impactful.

Technologies I’ve Worked With

Phone

(604) 256-2432

Surrey BC, Canada

Copyright © 2026 Nuwan Hettiarachchi