Color codes
- HEX
- #ee82ee
- RGB
- rgb(238, 130, 238)
- HSL
- hsl(300 76% 72%)
- CMYK
- cmyk(0% 45% 0% 7%)
- OKLCH
- oklch(76.2% 0.186 327)
CSS named color
rgb(238, 130, 238)
2.32:1 on white
Fails WCAG AA
9.06:1 on black
AAA for normal and large text
violet is written as #ee82ee in hex, rgb(238, 130, 238) in RGB and hsl(300 76% 72%) in HSL. Its lightness sits at 72%, which is why it reads fails wcag aa against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.