Color codes
- HEX
- #663399
- RGB
- rgb(102, 51, 153)
- HSL
- hsl(270 50% 40%)
- CMYK
- cmyk(33% 67% 0% 40%)
- OKLCH
- oklch(44% 0.16 303)
CSS named color
rgb(102, 51, 153)
8.41:1 on white
AAA for normal and large text
2.50:1 on black
Fails WCAG AA
rebeccapurple is written as #663399 in hex, rgb(102, 51, 153) in RGB and hsl(270 50% 40%) in HSL. Its lightness sits at 40%, which is why it reads aaa for normal and large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.