Purple covers the wheel between blue and magenta, roughly 260° to 300°. The CSS keyword purple is #800080 — considerably darker than the #7B2CBF that most palettes, including these, actually use. Copy the HEX codes from any scheme below, or generate a fresh harmonious purple palette anchored to your own base colour.
Purple Palette Ideas & HEX Codes
Royal Purple is the full ramp, #240046 up to #9D4EDD. Soft Purple reads that same range from the top, giving you the light tints #E0AAFF and #C77DFF the other sets lack. Deep Plum is the darkest of the three and the closest to a near-black, starting at #10002B.
Royal Purple
#240046
#3C096C
#5A189A
#7B2CBF
#9D4EDD
Soft Purple
#E0AAFF
#C77DFF
#9D4EDD
#7B2CBF
#5A189A
Deep Plum
#10002B
#240046
#3C096C
#5A189A
#7B2CBF
Anchored to a purple base — press Space or Generate to roll more schemes. Click a swatch to copy its HEX, lock one to keep it while the rest re-roll, then export as CSS, JSON or HEX.
Free, no sign-up Generated in your browser CSS, JSON & HEX export
Drag in the colour area or the hue bar, or type a HEX / RGB value, then build a scheme anchored to it.
What Goes With Purple
Purple is usually the most saturated colour in any palette it appears in, so it needs a neutral ground and one restrained partner — gray, cream or gold. Yellow is its complement, which is why a gold accent works and a second saturated hue rarely does. Its neighbours are indigo on the blue side and magenta on the red side. Creative, beauty and premium tech branding use it.
Frequently Asked Questions
What HEX codes make a good purple palette?
A rich purple palette steps from a deep plum anchor (#240046 or #3C096C) through a saturated mid purple (#7B2CBF) to lighter lilac tints (#9D4EDD, #E0AAFF). Keeping the hue between violet and magenta and varying lightness gives a regal, cohesive set. Rather than mixing your own, take one of the three sets above: Royal Purple, Soft Purple or Deep Plum. Their outer limits are #10002B and #E0AAFF, a ratio of 10.7:1, enough for body text at any size under WCAG AA and AAA.
What is the HEX code for purple?
The CSS keyword purple is #800080 — equal red and blue at half strength, 25% lightness, and darker than what most people picture. The working purple in these palettes is #7B2CBF at 46% lightness, with #5A189A as the darker step that still carries white text. Royal Purple above lays out the full ramp — #240046, #3C096C, #5A189A, #7B2CBF, #9D4EDD — while Soft Purple reverses it so the pale #E0AAFF leads.
How do I use these colours in CSS?
Click Copy CSS for a ready-to-paste :root block with each colour as a custom property (--color-1, --color-2 and so on), or copy a single HEX straight from any swatch above. The Soft Purple row above is a second ready-made option — #E0AAFF, #5A189A and the three steps between them — if you would rather not generate at all. The generator itself rolls around #7B2CBF, the base purple for this page. Use Copy JSON for an array or Copy HEX for a comma-separated line if custom properties are not how your project stores colour.
Which purple shades are readable as text on white?
The deeper purple shades work as body text on white and the pale ones do not. The base shade used here, #7B2CBF, gives 7.1:1 against #FFFFFF, clear enough for body text at any size. The darkest code on this page, #10002B, reaches 19.8:1 on white and clears WCAG AA for body text and AAA as well. The palest, #E0AAFF, sits at 1.8:1 and belongs behind text rather than in it, with something dark on top.