Violet Color

HEX, RGB, HSL & CMYK Codes

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

violet color harmonies

Tints & shades of violet

Tints (lighter)

#f08df0 #f199f1 #f3a4f3 #f4aff4 #f6bbf6 #f7c6f7 #f9d2f9 #faddfa #fce8fc #fdf4fd

Shades (darker)

#d876d8 #c36ac3 #ad5fad #975397 #824782 #6c3b6c #572f57 #412341 #2b182b #160c16

Contrast & accessibility

The quick brown fox

On white · 2.32:1 · Fail

The quick brown fox

On black · 9.06:1 · AAA

Recommended text color: #000000

Use violet in code

CSS color: #ee82ee;
SCSS $color: #ee82ee;
Tailwind bg-[#ee82ee]
Swift UIColor(red: 0.933, green: 0.510, blue: 0.933, alpha: 1)
Android Color.parseColor("#ee82ee")
Flutter Color(0xFFEE82EE)

Colors similar to violet

Browse all Pink colors →

What is the HEX code for violet?

The CSS color violet in HEX format is #ee82ee. 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: #ee82ee;
  • Background: background-color: #ee82ee;
  • Border: border-color: #ee82ee;

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

Select violet from the color name list in our color converter. The HEX value — #ee82ee — 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 HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.