designwithfocus

Purple Color Code

HEX, RGB, CMYK, shades, palettes and contrast.

Free No sign-up Runs in your browser

purple

HEX#800080
RGBrgb(128, 0, 128)
RGBArgba(128, 0, 128, 1)
HSLhsl(300, 100%, 25%)
HSLAhsla(300, 100%, 25%, 1)
HSVhsv(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 50%)
LABlab(29.8% 58.9 -36.5)
LCHlch(29.8% 69.3 328.2)
OKLCHoklch(42.1% 0.2 328.4)
OKLABoklab(0.4 0.2 -0.1)
HWBhwb(300 0% 50%)
XYZxyz(12.8, 6.2, 20.9)
Decimal8388736
Tailwindfuchsia-800
Namepurple

Shades

#6B006B
#550055
#400040
#2B002B
#150015

Tints

#952B95
#AA55AA
#C080C0
#D5AAD5
#EAD5EA

Harmonies

complementary
#800080
#008000
#003400
#00CD00
#CD00CD
analogous
#000080
#400080
#800080
#800040
#800000
triadic
#800080
#808000
#008080
#CDCD00
#003434

Contrast

vs White9.42:1 — AAA
vs Black2.23:1 — Fail

Colour-blind preview (simulation)

#494761

How to use Purple Color Code

  1. Look at the Purple swatch and copy the HEX, RGB or HSL value you need.
  2. Use the shades and tints below for darker and lighter versions.
  3. Check the contrast values before using it for text.

Purple colour values

Purple is #800080 in HEX. Its RGB values are 128, 0 and 128.

In HSL it is 300 degrees hue, 100% saturation and 25% lightness. In CMYK it is 0%, 100%, 0%, 50%.

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

Purple shades and tints

Darker shades of Purple run from #6B006B to #150015. Lighter tints run from #952A95 to #EAD4EA.

Use a darker shade for headings and a lighter tint for backgrounds.

ShadeHEX
Shade 1#6B006B
Shade 2#550055
Shade 3#400040
Shade 4#2B002B
Shade 5#150015

FAQ

What is the HEX code for Purple?

The HEX code for Purple is #800080.

What is Purple in RGB?

Purple is rgb(128, 0, 128).

Can I use this colour in CSS?

Yes. Copy the HEX or RGB value and paste it into any CSS colour property.

Is this colour free to use?

Yes. Colour values are facts, not owned designs, so you can use them anywhere.

Report a problem with this tool