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

Sample Text
This is how text may look on this color.
Best text color: #FFFFFF
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.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Han Purple
#5218FA Base
#C0FA18
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Han Purple
#5218FA Base
#184FFA
#C318FA
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Han Purple
#5218FA Base
#FA5218
#18FA52
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Han Purple
#5218FA Base
#FAC318
#4FFA18
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Han Purple
#5218FA Base
#FA184F
#C0FA18
#18FAC3
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Han Purple
#5218FA Base
#200376
#3504C1
#3E05E4
#7040FB
#8A63FC
#C2AEFD
Shades & Tints

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
Han Purple #5218FA Base
#7141FB
#906AFC
#AF94FD
#CDBDFE
#ECE6FE
CSS & SCSS Snippets

Ready-to-use code snippets for #5218FA. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #5218FA;
}

/* Text */
.element {
    color: #5218FA;
}

/* Border */
.element {
    border: 1px solid #5218FA;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #5218FA,
        #FCFFF5
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #5218FA,
        #FCFFF5
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Han Purple appears to people with different types of color vision deficiency.

Normal Vision #5218FA How the color appears with full color vision.
Deuteranopia #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.
Protanopia #2424FA Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #006464 Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #565656 Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Han Purple ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Han Purple #5218FA Base
Electric Ultramarine #3F00FF ΔE 2.11
Electric Indigo #6F00FF ΔE 3.12
Bluebonnet #1C1CF0 ΔE 4.09
Blue #0000FF ΔE 4.25

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.