#EE82EE

Violet — Color Codes & Palette

#EE82EE  ·  rgb(238, 130, 238)  ·  hsl(300, 76%, 72%)

Color Codes

Format Value
HEX #EE82EE
RGB rgb(238, 130, 238)
HSL hsl(300, 76%, 72%)

Shades of Violet

#E95DE9#E43AE4#D71DD7#B418B4#901490#6C0F6C#480A48#240524

Tints of Violet

#F08FF0#F29CF2#F3AAF3#F5B7F5#F7C5F7#F9D2F9#FBE0FB#FDEDFD

Color Pairings & Harmony

Complementary
#81EE81
Analogous +30°
#EE81B8
Analogous −30°
#B881EE
Triadic +120°
#EEEE81
Triadic −120°
#81EEEE

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
2.32:1 — Fail
vs. Black (#000000)
9.06:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #EE82EE;
}

.element-bg {
  background-color: #EE82EE;
  color: #000000;
}

.element-border {
  border: 2px solid #EE82EE;
}

About Violet

Violet is a light color with high saturation, defined by the hex code #EE82EE. Its exact color model values are rgb(238, 130, 238) in RGB and hsl(300, 76%, 72%) in HSL (hue 300°, saturation 76%, lightness 72%). On a white background the contrast ratio is 2.32:1 — Fail, and on black it is 9.06:1 — AAA pass for normal text. Use Violet for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Violet?
The RGB value of Violet (#EE82EE) is rgb(238, 130, 238). Red = rgb(238, 130, 238), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Violet accessible on a white background?
The contrast ratio of Violet on white (#FFFFFF) is 2.32:1 — Fail. On black (#000000) the contrast ratio is 9.06:1 — AAA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Violet?
Based on color theory, Violet (hsl(300, 76%, 72%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.