Purple — #800080
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Purple values in every format
| CSS name | purple |
|---|---|
| HEX | #800080 |
| RGB | rgb(128, 0, 128) |
| RGB % | 50%, 0%, 50% |
| HSL | hsl(300, 100%, 25%) |
| HSV / HSB | 300°, 100%, 50% |
| CMYK (print) | 0%, 100%, 0%, 50% |
| Relative luminance | 0.061 |
| Contrast on black | 2.23 : 1 |
| Contrast on white | 9.42 : 1 |
| Best text colour on it | White (9.42 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Purple (50–950)
50 #FFF0FF100 #FFDBFF200 #FFADFF300 #FF70FF400 #FF29FF500 #EB00EB600 #BD00BD700 #940094800 #700070900 #4C004C950 #2E002E
The scale keeps Purple's hue (300°) and saturation (100%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Purple
Complementary: #800080#008000
Analogous: #400080#800080#800040
Triadic: #800080#808000#008080
Split-complementary: #800080#408000#008040
Square: #800080#804000#008000#004080
Computed by rotating the hue wheel from 300°. Try them live in the Colour Harmony Generator.
Closest named colours
darkmagenta (#8B008B) · indigo (#4B0082) · rebeccapurple (#663399)
Using Purple well
Purple sits in the magenta / pink family at 25% lightness — a dark, vivid, cool colour. As a background it pairs best with white text (9.42:1 contrast). Its complement (#008000) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#400080, #800040) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Purple is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Purple?
#800080 — the CSS named colour “purple”. Its RGB is (128, 0, 128).
Is Purple good for text or backgrounds?
As a background, white text reads best on it (9.42:1). As text itself on white it reaches 9.42:1 — enough for WCAG AA normal text.
What colours go with Purple?
Its complement #008000 for contrast, analogous #400080 and #800040 for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Purple in CMYK for printing?
C0 M100 Y0 K50. CMYK conversions of screen colours are a starting point — always proof before a print run.