Tints & Shades
50
100
200
300
400
500
600
700
800
900
Scale from white (50) through Han Purple (500) to black (900), interpolated in Lab color space.
Color Values
- HEX
- #5218FA
- RGB
- rgb(82, 24, 250)
- HSL
- hsl(255, 96%, 54%)
- OKLCH
- oklch(0.489 0.285 279)
- CMYK
- cmyk(67%, 90%, 0%, 2%)
--color-hanpurplebg-[#5218FA]Accessibility
Score: 71/100On White (#FFF)
7.32:1
On Black (#000)
2.87:1
On Light Gray (#F5F5F5)
6.71:1
Best text color on this background:
Design Applications
background-color: #5218FA
color: #5218FA
bg-[#5218FA] text-[#FFFFFF]
border-left: 4px solid #5218FA
Color Harmonies
Complementary
Moss Green
#8A9A5B
Split-Complementary
Similar Colors
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 Han 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
Han Purple is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (7.32:1). Avoid small black text on this background.
CSS & Code Examples
Background
background-color: #5218FA;Text
color: #5218FA;Border
border: 2px solid #5218FA;Box Shadow
box-shadow: 0 4px 20px #5218FA40;Gradient
background: linear-gradient(135deg, #5218FA, #924fff);Tailwind-style
--color-han-purple: #5218FA;Tailwind CSS Utilities
Use arbitrary value syntax in Tailwind CSS to apply Han Purple without a custom config.
Background
bg-[#5218FA]Text
text-[#5218FA]Border
border-[#5218FA]Ring
ring-[#5218FA]Fill
fill-[#5218FA]From (gradient)
from-[#5218FA]Via (gradient)
via-[#5218FA]To (gradient)
to-[#5218FA]Design Tokens
Ready-to-use Han Purple design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.
CSS Custom Properties
:root {
--color-hanpurple: #5218FA;
--color-hanpurple-rgb: 82, 24, 250;
--color-hanpurple-hsl: 255, 96%, 54%;
}SCSS Variables
$color-hanpurple: #5218FA; $color-hanpurple-rgb: 82, 24, 250; $color-hanpurple-hsl: 255, 96%, 54%;
Tailwind v3 Config
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'hanpurple': '#5218FA',
},
},
},
};Tailwind v4 (@theme)
/* tailwind.css */
@theme {
--color-hanpurple: #5218FA;
}JSON Design Token (W3C format)
{
"hanpurple": {
"value": "#5218FA",
"type": "color",
"description": "Han Purple — #5218FA"
}
}More purple colors
View all →What Does Han Purple Mean? Color Psychology & Cultural Symbolism
Han Purple (#5218FA) 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 54% lightness positions it between accessibility and aspiration, rendering creativity 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.
- Han Purple's medium lightness (54%) shifts its psychological register: a balanced mid-tone that embodies luxury, creativity, mystery, and wisdom at its most direct.
- At 96% saturation, Han 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.
Brands that wear Han Purple confidently own a position no other color occupies. That distinction is the whole point.
How to Use Han Purple in Design: Applications, Pairings & Best Practices
In design, Han 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.
- UI components: premium feature highlights, creative mode indicators, luxury tier badges—Han Purple performs reliably in all these roles with its medium tonal character.
- Brand & identity: premium branding, creative agency identities, beauty packaging—contexts where Han Purple's vivid quality creates the right register.
- Typography: Han 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, Han 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: Han Purple's vivid saturation (96%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.
Brands that wear Han Purple confidently own a position no other color occupies. That distinction is the whole point.
Han Purple Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design
Han Purple (#5218FA) achieves a 7.32: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: 9.3%.
- As text on white (#FFFFFF): 7.32:1 — AAA ✓
- As text on black (#000000): 2.87:1 — Fail
- Best text color on Han Purple background: White (#FFFFFF) at 7.32:1
- WCAG 2.1 luminance: 9.3% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
- Han 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 Han Purple against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.
Han Purple in Industry: Branding, Design & Market Applications
Han Purple (#5218FA) is most at home in industries where luxury, creativity, mystery, and wisdom are key brand values. Its medium quality makes it particularly effective in Beauty & Cosmetics contexts, where the vivid saturation signals mystery 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: Glossier, Fenty Beauty, 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: Han 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, Han Purple works effectively in cryptocurrency projects, gaming UIs, spiritual and wellness platforms—contexts where mystery serves a secondary but reinforcing role.
The industries where Han Purple performs best are those where the audience expects mystery. Build brand strategy around this alignment, not against it.
Accessibility & Design Guides
Frequently Asked Questions
- What is the hex code for Han Purple? ▾
- The hex code for Han Purple is #5218FA. Its RGB values are rgb(82, 24, 250) and its HSL values are hsl(255, 96%, 54%).
- What does Han 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 Han Purple WCAG accessible? ▾
- Han Purple (#5218FA) passes WCAG AAA on white with a 7.32:1 contrast ratio. Its overall accessibility score is 71/100.
- What colors go well with Han Purple? ▾
- Han Purple pairs well with its complementary color Moss Green (#8A9A5B). Analogous colors like Egyptian Blue and Blue also work harmoniously. Check the Color Harmonies section above for the full palette.
- What is Han Purple used for? ▾
- Han 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 Han Purple? ▾
- In CSS, use `color: #5218FA` or `background-color: #5218FA`. The CSS custom property is `--color-hanpurple: #5218FA`. In Tailwind CSS, use the arbitrary value class `bg-[#5218FA]` for backgrounds or `text-[#5218FA]` for text.