Purple
#800080About Purple
Purple is the hex color #800080, which translates to rgb(128, 0, 128) in RGB and hsl(300, 100%, 25%) in HSL. On the color wheel it sits at 300 degrees, with a saturation of 100 percent and a lightness of 25 percent. That combination gives Purple a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Purple compares
Purple is exactly the CSS keyword purple, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is fuchsia-900 (#721378), at a distance of 8.0. Inside this library the closest neighbour is Dark Magenta at 5.1. Sorted by lightness, Purple is number 1 of the 31 purple colors here.
Text on Purple
2 of the five common text colors below clear WCAG AA for normal text on Purple, led by White at 9.42:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Purple already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 9.42:1 | Pass | Pass | Pass |
| Ink black #0F0F12 | 2.03:1 | Fail | Fail | Fail |
| Mid grey #6B7280 | 1.95:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.09:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 7.61:1 | Pass | Pass | Pass |
Building a palette around Purple
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Purple for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.
Full values for Purple
| Format | Value |
|---|---|
| HEX | #800080 |
| RGB | rgb(128, 0, 128) |
| HSL | hsl(300, 100%, 25%) |
| HSV | hsv(300, 100%, 50%) |
| CMYK | cmyk(0%, 100%, 0%, 50%) |
| OKLCH | oklch(42.09% 0.1935 328.36) |
| CIELAB | lab(29.78 58.93 -36.49) |
Use Purple in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.