Skip to main content

Purple

#800080·purple family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Purple (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#800080
RGB
rgb(128, 0, 128)
HSL
hsl(300, 100%, 25%)
OKLCH
oklch(0.421 0.193 328)
CMYK
cmyk(0%, 100%, 0%, 50%)
Luminance:0.0615
CSS var:--color-purple
Tailwind:bg-[#800080]

Accessibility

Score: 96/100

On White (#FFF)

9.42:1

AAA

On Black (#000)

2.23:1

Fail

On Light Gray (#F5F5F5)

8.64:1

AAA

Best text color on this background:

white9.42:1
Open in Contrast Checker →

Design Applications

Background

background-color: #800080

Text Color

color: #800080

bg-[#800080] text-[#FFFFFF]

Accent border card component

border-left: 4px solid #800080

Color Meaning & Psychology

Pure purple is one of the rarest natural colors — almost no animals or plants are purple. This rarity is what created its association with royalty in the ancient world. In modern branding, purple occupies a space that belongs to neither warm nor cool color camps, creating a distinctive, memorable identity.

Industry Usage

Common contexts and industries where Purple is applied in professional design.

  • Luxury beauty and cosmetics brands
  • Premium consumer products and packaging
  • Spiritual, wellness, and meditation apps
  • Creative agencies and design studios
  • Entertainment and gaming (magic, fantasy)
  • Anti-aging and prestige skincare
  • Confectionery and indulgence brands
  • Academic institutions emphasizing wisdom

Accessibility Considerations

Normal Text

Passes AA

4.5:1 minimum required

Large Text

Passes AA Large

3:1 minimum required

UI Components

Meets 1.4.11

3:1 for non-text UI

Purple is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (9.42:1). Avoid small black text on this background.

CSS & Code Examples

Background

background-color: #800080;

Text

color: #800080;

Border

border: 2px solid #800080;

Box Shadow

box-shadow: 0 4px 20px #80008040;

Gradient

background: linear-gradient(135deg, #800080, #b343b0);

Tailwind-style

--color-purple: #800080;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Purple without a custom config.

Background

bg-[#800080]

Text

text-[#800080]

Border

border-[#800080]

Ring

ring-[#800080]

Fill

fill-[#800080]

From (gradient)

from-[#800080]

Via (gradient)

via-[#800080]

To (gradient)

to-[#800080]

Design Tokens

Ready-to-use Purple design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-purple: #800080;
  --color-purple-rgb: 128, 0, 128;
  --color-purple-hsl: 300, 100%, 25%;
}

SCSS Variables

$color-purple: #800080;
$color-purple-rgb: 128, 0, 128;
$color-purple-hsl: 300, 100%, 25%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'purple': '#800080',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-purple: #800080;
}

JSON Design Token (W3C format)

{
  "purple": {
    "value": "#800080",
    "type": "color",
    "description": "Purple — #800080"
  }
}

What Does Purple Mean? Color Psychology & Cultural Symbolism

Purple occupies a unique position in the spectrum: it lies at the boundary between the warm world of red and the cool world of blue, inheriting qualities from both without fully belonging to either. This liminal character translates as wisdom—a quality of creative tension that makes purple irreplaceable for certain design purposes.

  • Across color psychology research, purple consistently tests high for "luxury" associations, making Purple a reliable vehicle for wisdom in cross-demographic audiences.
  • Brand designers draw on purple-family tones to project distinction and wisdom—values that Purple communicates in a deep key.
  • At 100% saturation, Purple reads as vivid—Vivid purples—electric violet, magenta-leaning—signal digital creativity, gaming culture, and technological imagination; they are the purples of sci-fi, crypto, and creative tools.
  • Purple's deep lightness (25%) shifts its psychological register: Deep violet and plum tones carry maximal luxury and mystery—positioned at the intersection of black's power and purple's creativity, excellent for premium and high-fashion applications.

Brands that wear Purple confidently own a position no other color occupies. That distinction is the whole point.

How to Use Purple in Design: Applications, Pairings & Best Practices

In design, Purple is simultaneously challenging and irreplaceable. Its specificity (not everyone can pull off purple) is precisely what makes it so effective for brands that want to signal creative differentiation.

  • Avoid: mainstream corporate environments where it reads as unconventional, food packaging (no natural purple vegetables beyond eggplant and berries), and mass-market consumer products where premium positioning is not intended.
  • Color harmonies: Purple's complementary color creates a high-energy split ideal for promotional design; its analogous palette (±30° hue) builds cohesive, monochromatic sophistication.
  • Proportional use: Purple's vivid saturation (100%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
  • As a dark tone, Purple creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
  • Typography: Purple works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.

Brands that wear Purple confidently own a position no other color occupies. That distinction is the whole point.

Purple Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Purple (#800080) achieves a 9.42:1 contrast ratio with white text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 6.2%.

  • As text on white (#FFFFFF): 9.42:1 — AAA ✓
  • As text on black (#000000): 2.23:1 — Fail
  • Best text color on Purple background: White (#FFFFFF) at 9.42:1
  • WCAG 2.1 luminance: 6.2% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
  • Purple qualifies for all text sizes including small body copy (AAA).
  • Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.

For production use, test Purple against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.

Purple in Industry: Branding, Design & Market Applications

Purple (#800080) is most at home in industries where luxury, creativity, mystery, and wisdom are key brand values. Its deep quality makes it particularly effective in Beauty & Cosmetics contexts, where the vivid saturation signals sophistication at exactly the right register.

  • Beauty & Cosmetics: Purple is the second most common color in beauty branding, projecting luxury, femininity, and transformative aspiration. It signals that a product is special, premium, and designed for moments of indulgence. (examples: Drunk Elephant, Tatcha, Rare Beauty) Lavender tones work for accessible beauty; deep violet and plum for luxury skincare and perfume.
  • Creative & Agency Services: Creative studios, design agencies, and advertising firms use purple to signal imagination, unconventional thinking, and creative authority. It differentiates them from the blue-dominated corporate world while retaining enough gravitas to command respect. Works best when paired with a strong neutral (black, charcoal, or cream) to prevent it from reading as whimsical.
  • Gaming & Entertainment: Purple dominates gaming, streaming, and digital entertainment branding because it signals the threshold between the ordinary world and an imaginative one. It's the color of portals, magic systems, and premium digital experiences. (examples: Spotify, Netflix, Hulu) Twitch's purple brand has made the color synonymous with live streaming culture—worth considering in adjacent spaces.
  • Brand positioning: Purple is best suited for brands projecting distinction, wisdom, imagination. Categories outside this positioning—mainstream corporate environments where it reads as unconventional—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Purple works effectively in cryptocurrency projects, gaming UIs, spiritual and wellness platforms—contexts where sophistication serves a secondary but reinforcing role.

The industries where Purple performs best are those where the audience expects sophistication. Build brand strategy around this alignment, not against it.

Frequently Asked Questions

What is the hex code for Purple?
The hex code for Purple is #800080. Its RGB values are rgb(128, 0, 128) and its HSL values are hsl(300, 100%, 25%).
What does Purple mean in design?
Pure purple is one of the rarest natural colors — almost no animals or plants are purple. This rarity is what created its association with royalty in the ancient world. In modern branding, purple occupies a space that belongs to neither warm nor cool color camps, creating a distinctive, memorable identity.
Is Purple WCAG accessible?
Purple (#800080) passes WCAG AAA on white with a 9.42:1 contrast ratio. Its overall accessibility score is 96/100.
What colors go well with Purple?
Purple pairs well with its complementary color Green (#008000). Analogous colors like Amethyst and Electric Purple also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Purple used for?
Purple is commonly used for: Luxury beauty and cosmetics brands; Premium consumer products and packaging; Spiritual, wellness, and meditation apps; Creative agencies and design studios; Entertainment and gaming (magic, fantasy).
What are the CSS and Tailwind values for Purple?
In CSS, use `color: #800080` or `background-color: #800080`. The CSS custom property is `--color-purple: #800080`. In Tailwind CSS, use the arbitrary value class `bg-[#800080]` for backgrounds or `text-[#800080]` for text.