Skip to content

Purple Color Code #800080

Purple has the HEX code #800080 and the RGB value rgb(128, 0, 128).

Purple#800080

Purple color codes

HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
CMYKcmyk(0%, 100%, 0%, 50%)
RGB percent50%, 0%, 50%
Decimal8388736

Tints of Purple

#8D1A8D#993399#A64DA6#B366B3#C080C0#CC99CC#D9B3D9#E6CCE6#F2E6F2

Shades of Purple

#730073#660066#5A005A#4D004D#400040#330033#260026#1A001A#0D000D

Color combinations

Complementary

#800080#008000

Analogous

#800080#400080#800040

Triadic

#800080#808000#008080

Use Purple in CSS

.text { color: #800080; }
.box { background-color: rgb(128, 0, 128); }
.border { border: 2px solid hsl(300, 100%, 25%); }
Text in Purple Background in Purple

Similar colors

Frequently asked questions

What is the HEX code for Purple?

The HEX code for Purple is #800080.

What is the RGB value of Purple?

Purple in RGB is rgb(128, 0, 128): red 128, green 0 and blue 128 out of 255.

How do I use Purple in CSS?

Use color: #800080; for text or background-color: #800080; for backgrounds. You can also write the CSS name purple.