Violet to RGB — Color Code

RGB

rgb(238, 130, 238)

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 RGB code for violet?

The CSS color violet in RGB format is rgb(238, 130, 238). 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: rgb(238, 130, 238);
  • Background: background-color: rgb(238, 130, 238);
  • Border: border-color: rgb(238, 130, 238);

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 RGB?

Select violet from the color name list in our color converter. The RGB value — rgb(238, 130, 238) — 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 RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.