Han Purple (#5218FA)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 7.32:1 — vs black: 2.87:1
Color values
-
HEX
#5218FA -
RGB
rgb(82, 24, 250) -
HSL
hsl(255, 90%, 98%) -
CMYK
cmyk( 67.2, 90.4, 0, 1.96 ) -
Websafe
#6600FF
Tags
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #5218FA based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#5218FA
Base
#C0FA18
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#5218FA
Base
#184FFA
#C318FA
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#5218FA
Base
#FA5218
#18FA52
Two colors flanking the complement — high contrast with less tension than full complementary.
#5218FA
Base
#FAC318
#4FFA18
Four colors at 90° intervals — rich variety, best when one color dominates.
#5218FA
Base
#FA184F
#C0FA18
#18FAC3
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#5218FA
Base
#200376
#3504C1
#3E05E4
#7040FB
#8A63FC
#C2AEFD
Darker shades and lighter tints of Han Purple, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#070119
#14024A
#21037A
#2F04AB
#3C05DC
#5218FA
Base
#7141FB
#906AFC
#AF94FD
#CDBDFE
#ECE6FE
Ready-to-use code snippets for #5218FA. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #5218FA;
}
/* Text */
.element {
color: #5218FA;
}
/* Border */
.element {
border: 1px solid #5218FA;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#5218FA,
#FCFFF5
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#5218FA,
#FCFFF5
);
}
// SCSS variable
$han-purple: #5218FA;
// With RGB channels (useful for rgba() usage)
$han-purple-r: 82;
$han-purple-g: 24;
$han-purple-b: 250;
// Usage
.element {
background-color: $han-purple;
color: rgba($han-purple-r, $han-purple-g, $han-purple-b, 0.8);
}
How Han Purple appears to people with different types of color vision deficiency.
#5218FA
How the color appears with full color vision.
#3131FA
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#2424FA
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#006464
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#565656
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.