Color codes
- HEX
- #9370db
- RGB
- rgb(147, 112, 219)
- HSL
- hsl(260 60% 65%)
- CMYK
- cmyk(33% 49% 0% 14%)
- OKLCH
- oklch(62.7% 0.158 297)
CSS named color
rgb(147, 112, 219)
3.76:1 on white
AA for large text only
5.58:1 on black
AA normal · AAA large text
mediumpurple is written as #9370db in hex, rgb(147, 112, 219) in RGB and hsl(260 60% 65%) in HSL. Its lightness sits at 65%, which is why it reads aa for large text only against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.