Color codes
- HEX
- #8a2be2
- RGB
- rgb(138, 43, 226)
- HSL
- hsl(271 76% 53%)
- CMYK
- cmyk(39% 81% 0% 11%)
- OKLCH
- oklch(53.4% 0.25 301)
CSS named color
rgb(138, 43, 226)
5.96:1 on white
AA normal · AAA large text
3.52:1 on black
AA for large text only
blueviolet is written as #8a2be2 in hex, rgb(138, 43, 226) in RGB and hsl(271 76% 53%) in HSL. Its lightness sits at 53%, which is why it reads aa normal · aaa large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.