Skip to main content

Royal Purple

#7851A9·purple family·WCAG AA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

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

Color Values

HEX
#7851A9
RGB
rgb(120, 81, 169)
HSL
hsl(267, 35%, 49%)
OKLCH
oklch(0.518 0.138 302)
CMYK
cmyk(29%, 52%, 0%, 34%)
Luminance:0.1274
CSS var:--color-royal-purple
Tailwind:bg-[#7851A9]

Accessibility

Score: 54/100

On White (#FFF)

5.92:1

AA

On Black (#000)

3.55:1

AA Large

On Light Gray (#F5F5F5)

5.43:1

AA

Best text color on this background:

white5.92:1
Open in Contrast Checker →

Design Applications

Background

background-color: #7851A9

Text Color

color: #7851A9

bg-[#7851A9] text-[#FFFFFF]

Accent border card component

border-left: 4px solid #7851A9

Color Meaning & Psychology

Purple was among the most expensive dyes in history — extracted from murex snails, requiring thousands to color a single garment. This scarcity created the enduring association with royalty, power, and luxury. Purple is rare in nature, which is why it feels special and mysterious. Red-purples feel passionate and romantic; blue-purples feel calm and contemplative; mid-purples feel creative and spiritual. Purple activates both warm (red) and cool (blue) emotional responses simultaneously, creating an ambiguity that different cultures interpret differently — wisdom in Asia, mourning in parts of Europe, magic in fantasy contexts, lavish excess in baroque design. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.

Industry Usage

Common contexts and industries where Royal 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

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

CSS & Code Examples

Background

background-color: #7851A9;

Text

color: #7851A9;

Border

border: 2px solid #7851A9;

Box Shadow

box-shadow: 0 4px 20px #7851A940;

Gradient

background: linear-gradient(135deg, #7851A9, #a97edb);

Tailwind-style

--color-royal-purple: #7851A9;

Tailwind CSS Utilities

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

Background

bg-[#7851A9]

Text

text-[#7851A9]

Border

border-[#7851A9]

Ring

ring-[#7851A9]

Fill

fill-[#7851A9]

From (gradient)

from-[#7851A9]

Via (gradient)

via-[#7851A9]

To (gradient)

to-[#7851A9]

Design Tokens

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

CSS Custom Properties

:root {
  --color-royal-purple: #7851A9;
  --color-royal-purple-rgb: 120, 81, 169;
  --color-royal-purple-hsl: 267, 35%, 49%;
}

SCSS Variables

$color-royal-purple: #7851A9;
$color-royal-purple-rgb: 120, 81, 169;
$color-royal-purple-hsl: 267, 35%, 49%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'royal-purple': '#7851A9',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-royal-purple: #7851A9;
}

JSON Design Token (W3C format)

{
  "royal-purple": {
    "value": "#7851A9",
    "type": "color",
    "description": "Royal Purple — #7851A9"
  }
}

What Does Royal Purple Mean? Color Psychology & Cultural Symbolism

Royal Purple (#7851A9) is the color of liminal spaces—the purple twilight, the purple of ancient dyes, the purple of futures not yet written. Its medium quality at 49% lightness positions it between accessibility and aspiration, rendering mystery in a register that feels both earned and inviting.

  • Purple's historical scarcity (Tyrian purple was worth more than gold) embedded it permanently in the Western imagination as a royal, noble, and exclusive color. In contemporary design it bridges luxury (its historic connotation) and creativity (its association with the imagination and alternative thinking).
  • In Japan, purple (murasaki) has been associated with nobility and spiritual power for centuries, and the tradition continues in contemporary culture. In Thai mourning traditions, purple is worn by widows—one of the few cultures where it carries grief rather than luxury associations.
  • Royal Purple's medium lightness (49%) shifts its psychological register: a balanced mid-tone that embodies luxury, creativity, mystery, and wisdom at its most direct.
  • At 35% saturation, Royal Purple reads as subdued—neither overwhelming nor passive, landing in the luxury, creativity, mystery, and wisdom zone with measured confidence.

Royal Purple is a commitment color—use it fully or not at all. Half measures produce neither luxury nor creativity.

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

Royal Purple rewards bold usage. Timid deployment—a small accent in an otherwise neutral palette—undersells its power. Used with commitment, it creates the kind of brand distinction that no other hue achieves.

  • UI components: premium feature highlights, creative mode indicators, luxury tier badges—Royal Purple performs reliably in all these roles with its medium tonal character.
  • Brand & identity: premium branding, creative agency identities, beauty packaging—contexts where Royal Purple's subdued quality creates the right register.
  • Typography: Royal Purple works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.
  • As a dark tone, Royal Purple creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
  • Proportional use: Royal Purple's subdued quality means it scales well across proportions—from full-bleed backgrounds to single-pixel borders—making it an unusually versatile palette component.

Royal Purple is a commitment color—use it fully or not at all. Half measures produce neither luxury nor creativity.

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

Royal Purple (#7851A9) reaches 5.92:1 contrast with white text—meeting WCAG 2.1 AA minimum of 4.5:1 for normal text and 3:1 for large text. It clears standard production accessibility requirements. Relative luminance: 12.7%.

  • As text on white (#FFFFFF): 5.92:1 — AA ✓
  • As text on black (#000000): 3.55:1 — AA (large text only)
  • Best text color on Royal Purple background: White (#FFFFFF) at 5.92:1
  • WCAG 2.1 luminance: 12.7% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
  • Royal Purple qualifies for normal body text and all larger sizes (AA).
  • 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.

Always verify Royal Purple at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.

Royal Purple in Industry: Branding, Design & Market Applications

Across industry research, purple-family tones consistently outperform competitors in categories built on luxury, creativity, mystery, and wisdom. Royal Purple is a medium expression of this advantage—best positioned in Beauty & Cosmetics and adjacent markets.

  • 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: Disney+, Hulu, Netflix) Twitch's purple brand has made the color synonymous with live streaming culture—worth considering in adjacent spaces.
  • Brand positioning: Royal 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, Royal Purple works effectively in cryptocurrency projects, gaming UIs, spiritual and wellness platforms—contexts where creativity serves a secondary but reinforcing role.

Royal Purple earns its strongest ROI in industries where trust and recognition compound over time: Beauty & Cosmetics, Creative & Agency Services, Gaming & Entertainment. Use it to build the kind of brand recognition that decades reinforce.

Frequently Asked Questions

What is the hex code for Royal Purple?
The hex code for Royal Purple is #7851A9. Its RGB values are rgb(120, 81, 169) and its HSL values are hsl(267, 35%, 49%).
What does Royal Purple mean in design?
Purple was among the most expensive dyes in history — extracted from murex snails, requiring thousands to color a single garment. This scarcity created the enduring association with royalty, power, and luxury. Purple is rare in nature, which is why it feels special and mysterious. Red-purples feel passionate and romantic; blue-purples feel calm and contemplative; mid-purples feel creative and spiritual. Purple activates both warm (red) and cool (blue) emotional responses simultaneously, creating an ambiguity that different cultures interpret differently — wisdom in Asia, mourning in parts of Europe, magic in fantasy contexts, lavish excess in baroque design. At medium lightness, it is the most versatile tone of this hue family — readable as text on light backgrounds, yet vibrant enough as a visual accent.
Is Royal Purple WCAG accessible?
Royal Purple (#7851A9) passes WCAG AA on white with a 5.92:1 contrast ratio. Its overall accessibility score is 54/100.
What colors go well with Royal Purple?
Royal Purple pairs well with its complementary color Green Yellow (#ADFF2F). Analogous colors like Liberty Purple and Hyacinth also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Royal Purple used for?
Royal 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 Royal Purple?
In CSS, use `color: #7851A9` or `background-color: #7851A9`. The CSS custom property is `--color-royal-purple: #7851A9`. In Tailwind CSS, use the arbitrary value class `bg-[#7851A9]` for backgrounds or `text-[#7851A9]` for text.