#EE82EE
violet
#EE82EE is the CSS named color "violet", an exact match. In RGB it breaks down to red 238, green 130, and blue 238 out of 255 each. In HSL terms that's a hue of 300°, 76% saturation, and 72% lightness: on the lighter side — readable as large or bold text on a dark background, but too pale for small body text on white.
Every format
| HEX | #ee82ee |
| RGB | rgb(238, 130, 238) |
| HSL | hsl(300° 76% 72%) |
| HSB | hsb(300° 45% 93%) |
| OKLCH | oklch(76% 0.186 327°) |
| OKLAB | oklab(76% 0.156 -0.101) |
| LCH | lch(70% 64.6 326°) |
| CMYK | cmyk(0% 45% 0% 7%) |
Shades (darker)
#ee82ee · #d96fda · #c55bc5 · #b048b2 · #9d349e
Tints (lighter)
#ee82ee · #f68af6 · #fe91fe · #ff99ff · #ffa1ff
Shades mix #EE82EE toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 2.32:1 — fails
On black: 9.06:1 — AAA
Frequently asked
- What is #EE82EE in RGB?
- #EE82EE is rgb(238, 130, 238) — red 238, green 130, blue 238 out of 255 each.
- Does #EE82EE pass WCAG contrast on a white background?
- It has a contrast ratio of 2.32:1 against white, which fails for normal text.
- What's a good background color to pair with #EE82EE?
- Black text or a black background gives better contrast (9.06:1) than white (2.32:1).