Color Converter (HEX, RGB, HSL)β†’Specialized Version
🎨

Purple HEX Code

Purple color HEX code

HEX in
#800080
RGB out
rgb(128, 0, 128)
RGB
HSL

All formats

Lightness variations

Purple HEX Code

The HEX code for CSS purple is #800080. Purple is created by mixing red and blue, representing creativity, royalty, and luxury. Note that CSS "purple" (#800080) is darker than the vibrant purple many expectβ€”for brighter purples, consider violet (#EE82EE) or magenta (#FF00FF).

Purple Color Values

FormatValue
HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
CMYKC:0 M:100 Y:0 K:50

Purple Shades and Variations

ShadeHEXDescription
Lavender#E6E6FALight, soft purple
Violet#EE82EEBright, pinkish
Orchid#DA70D6Pink-purple
Magenta#FF00FFVibrant pink-purple
Purple#800080CSS standard purple
Dark Violet#9400D3Rich, vivid
Indigo#4B0082Blue-purple
Plum#DDA0DDMuted, dusty
Rebecca Purple#663399Web standard purple

Purple in Design

Purple conveys:

  • Royalty: Luxury, prestige, wealth
  • Creativity: Imagination, art
  • Spirituality: Wisdom, mystery
  • Premium: High-end products

CSS Rebecca Purple

Rebecca Purple (#663399) was added to CSS in 2014 in memory of Rebecca Meyer:

``css .royal { background-color: rebeccapurple; /* Same as */ background-color: #663399; } `

Purple Palettes

StylePrimarySecondaryAccent
Royal#663399#4B0082#9370DB
Soft#E6E6FA#DDA0DD#DA70D6
Vibrant#9400D3#8B008B#FF00FF
Modern#7C3AED#6366F1#A855F7

Brand Purples

BrandHEXName
Twitch#9146FFTwitch Purple
Yahoo#6001D2Yahoo Purple
Cadbury#472F92Cadbury Purple
Hallmark#5C315EHallmark Purple
FedEx#4D148CFedEx Purple

Purple in Tailwind CSS

`javascript // Tailwind purple scale purple: { 50: '#faf5ff', 100: '#f3e8ff', 200: '#e9d5ff', 500: '#a855f7', 700: '#7e22ce', 900: '#581c87', } `

Purple remains popular for creative industries, gaming platforms, and premium brands seeking a distinctive, non-corporate identity.

A Full Ramp From This Colour

Design systems settle on a 50–900 scale because it covers backgrounds, borders, text and states without anyone reaching outside the palette. Mixing toward white and black rather than adjusting HSL lightness keeps more of the hue's character:

StepColourContrast on whiteSafe for
50#F5F9FF1.06:1backgrounds and fills
100#EBF3FE1.12:1backgrounds and fills
200#CEE0FD1.34:1backgrounds and fills
300#B1CDFB1.62:1backgrounds and fills
400#76A8F92.40:1backgrounds and fills
500#3B82F63.68:1large text, borders
600#326FD14.85:1body text on white
700#295BAC6.59:1body text on white
800#2048878.98:1body text on white
900#18346212.31:1body text on white
The contrast column is the one that decides usage. Steps below 3:1 cannot carry text at any size and belong in fills and dividers; steps at 4.5:1 and above are safe for body copy.

Adjusting It

Base colour in HSL is hsl(217, 91%, 60%). Two useful moves:

`css /* +10% lightness, same hue */ --lighter: #6da2f8; /* βˆ’10% lightness */ --darker: #0b64f4; ``

Raising lightness also drops perceived saturation, so a lightened colour reads greyer than its numbers suggest. Adding 5–10% saturation alongside every 20% of lightness keeps the ramp looking like one hue rather than a fade to grey.

Frequently Asked Questions

What is purple in HEX?

#800080 is CSS purple, but many designers use brighter purples like #663399 (Rebecca Purple) or #9400D3 (Dark Violet).

What is Rebecca Purple?

Rebecca Purple (#663399) is a CSS named color added in 2014 in memory of Rebecca Meyer, daughter of web pioneer Eric Meyer.

Purple vs violet vs magenta?

Purple (#800080) is darker, violet (#EE82EE) is brighter and pinker, magenta (#FF00FF) is vivid pink-purple.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need