Violet Color — #8F00FF: Codes, Palettes & Contrast
Violet (#8F00FF) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.
Ultraviolet's visible cousin — vivid and strange.
Violet#8F00FF
Violet color codes
| HEX | #8F00FF |
|---|---|
| RGB | rgb(143, 0, 255) |
| HSL | hsl(274, 100%, 50%) |
| OKLCH | oklch(0.548 0.294 298.8) |
Browse more purple colors.
Readable text on Violet
White text (#FFFFFF) has the higher contrast against this background: 5.81:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 3.61:1 | Fail | Fail |
| White | 5.81:1 | Pass | Fail |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.