Violet to RGB — Color Code

#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 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.