Violet to HSL — Color Code

HSL

hsl(300, 76.1%, 72.2%)

Format Value
HEX #ee82ee
RGB rgb(238, 130, 238)
HSL hsl(300, 76.1%, 72.2%)
CMYK cmyk(0%, 45.4%, 0%, 6.7%)

What is the HSL code for violet?

The CSS color violet in HSL format is hsl(300, 76.1%, 72.2%). Use this value directly in CSS, SVG, and most design tools.

How do I use violet in CSS?

To apply violet in CSS:

  • Text color: color: hsl(300, 76.1%, 72.2%);
  • Background: background-color: hsl(300, 76.1%, 72.2%);
  • Border: border-color: hsl(300, 76.1%, 72.2%);

What are all the color format values for violet?

FormatValue
HEX#ee82ee
RGBrgb(238, 130, 238)
HSLhsl(300, 76.1%, 72.2%)
CMYKcmyk(0%, 45.4%, 0%, 6.7%)

How do I convert violet to HSL?

Select violet from the color name list in our color converter. The HSL value — hsl(300, 76.1%, 72.2%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does violet belong to?

violet belongs to the pink color family. It is a light, vivid color with HSL values: hue 300°, saturation 76.1%, lightness 72.2%.

How do I create lighter and darker shades of violet?

Lighter variant (lightness 87.2%): #f7c6f7. Darker variant (lightness 57.2%): #e53fe5. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.