purple Color Codes

Color Preview
Purple Color Codes
Related Colors

Complementary

#7fff7f

Analogous

hsl(330, 100%, 25%)
hsl(270, 100%, 25%)

Triadic

hsl(60, 100%, 25%)
hsl(180, 100%, 25%)

Tetradic

hsl(30, 100%, 25%)
hsl(120, 100%, 25%)
hsl(210, 100%, 25%)
HTML Snippets
.element { background-color: #800080; }
.element { color: #800080; }

This is how the text color would appear.

<span style="color: #800080;">Colored text</span>

This text has an inline style applied.

Accessibility

Contrast Ratios

Black2.23 (Fail)
White9.42 (AA)
Shades of Purple

hsl(300, 100%, 0%)

hsl(300, 100%, 10%)

#800080

hsl(300, 100%, 40%)

hsl(300, 100%, 55%)

Color Blindness Simulations

Protanopia (Red-Blind)

#494780

Deuteranopia (Green-Blind)

#505a80

Tritanopia (Blue-Blind)

#7a373d

Related Palettes

About purple

purple (#800080) is a versatile color that can be used in various design contexts. Explore its hex code, RGB and HSL values, and discover complementary colors to create stunning color palettes for your projects.