Purple (#800080)

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: 9.42:1 — vs black: 2.23:1

Color values

  • HEX #800080
  • RGB rgb(128, 0, 128)
  • HSL hsl(300, 100%, 50%)
  • CMYK cmyk( 0, 100, 0, 49.8 )
  • Websafe #990099

Tags

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #800080 based on color theory relationships.

Complementary

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

Purple
#800080 Base
Office Green
#008000
Analogous

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

Purple
#800080 Base
#400080
#800040
Triadic

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

Purple
#800080 Base
Olive
#808000
Teal
#008080
Split-Complementary

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

Purple
#800080 Base
#408000
#008040
Tetradic (Square)

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

Purple
#800080 Base
#804000
Office Green
#008000
#004080
Monochromatic

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

Purple
#800080 Base
#1A001A
#330033
#570057
#A900A9
Deep Magenta
#CC00CC
#FF1AFF
Shades & Tints

Darker shades and lighter tints of Purple, generated by adjusting lightness while keeping the same hue and saturation.

Shades (darker)

#1A001A
#2E002E
#430043
#570057
#6C006C
Purple #800080 Base
#C700C7
#FF10FF
#FF57FF
#FF9EFF
#FFE6FF
CSS & SCSS Snippets

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

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

/* Text */
.element {
    color: #800080;
}

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

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #800080,
        #01FF01
    );
}
SCSS Variable
// SCSS variable
$purple: #800080;

// With RGB channels (useful for rgba() usage)
$purple-r: 128;
$purple-g: 0;
$purple-b: 128;

// Usage
.element {
    background-color: $purple;
    color: rgba($purple-r, $purple-g, $purple-b, 0.8);
}
Color Blindness Simulation

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

Normal Vision #800080 How the color appears with full color vision.
Deuteranopia #47477F 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 #2A2A80 Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #782E2E Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #464646 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 Purple ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Purple #800080 Base
Mardi Gras #880085 ΔE 1.59
Dark Magenta #8B008B ΔE 2.43
Eminence #6C3082 ΔE 6.47
Violet (RYB) #8601AF ΔE 7.70

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.