PURPLE

Purple

No. 082

#800080rgb(128, 0, 128)hsl(300, 100%, 25%)

Purple is #800080, rgb(128, 0, 128).

In CSS: purple

Conversions
HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
HSVhsv(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 50%)
Copy CSS
color: #800080; /* rgb */ color: rgb(128, 0, 128); /* hsl */ color: hsl(300, 100%, 25%);
Shades
Tints

Colors that go with Purple

Contrast

1 of 2 backgrounds pass AA

  1. On whitePass9.42 : 1
  2. On ink blackFail2.03 : 1

About Purple

Purple is the hex color #800080, which translates to rgb(128, 0, 128) in RGB and hsl(300, 100%, 25%) in HSL. On the color wheel it sits at 300 degrees, with a saturation of 100 percent and a lightness of 25 percent. That combination gives Purple a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Purple compares

Purple is exactly the CSS keyword purple, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is fuchsia-900 (#721378), at a distance of 8.0. Inside this library the closest neighbour is Dark Magenta at 5.1. Sorted by lightness, Purple is number 1 of the 31 purple colors here.

Text on Purple

2 of the five common text colors below clear WCAG AA for normal text on Purple, led by White at 9.42:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Purple already loaded as the background.

Contrast of common text colors on Purple. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF9.42:1PassPassPass
Ink black #0F0F122.03:1FailFailFail
Mid grey #6B72801.95:1FailFailFail
Dark grey #3741511.09:1FailFailFail
Light grey #E5E7EB7.61:1PassPassPass

Building a palette around Purple

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Purple for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Purple locked and let it fill in the rest.

Full values for Purple

FormatValue
HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
HSVhsv(300, 100%, 50%)
CMYKcmyk(0%, 100%, 0%, 50%)
OKLCHoklch(42.09% 0.1935 328.36)
CIELABlab(29.78 58.93 -36.49)

Frequently asked questions

What is the RGB value of Purple?

Purple (#800080) is rgb(128, 0, 128): 128 red, 0 green and 128 blue on the 0 to 255 scale. Red and blue share the lead at 128 with green at 0, which puts the hue at 300 degrees. In HSL the same color is hsl(300, 100%, 25%).

What colour is #800080?

#800080 is Purple, a dark purple colour with a hue of 300 degrees, 100% saturation and 25% lightness. For print the CMYK breakdown is 0% cyan, 100% magenta, 0% yellow and 50% black. Its nearest neighbour in this library is Dark Magenta, 5.1 away in CIELAB, a difference you can see.

Is Purple a CSS color name?

Yes. The keyword purple is one of the 148 named colors in CSS Color Module Level 4, so color: purple; renders exactly #800080.

What colors go with Purple?

Opposite Purple on the color wheel sits the complementary #008000 (Green), the boldest accent by hue. For a calmer scheme use the analogous neighbours #400080 (close to Indigo) and #800040; for a balanced three-color scheme use the triadic pair #808000 (Olive) and #008080 (Teal). Of these, #808000 has the most contrast against Purple, at 2.25:1, so pair it by hue, not for legibility.

What text color is readable on Purple?

White (#FFFFFF) is the most readable on Purple, at 9.42:1, which also clears WCAG AAA (7:1). 2 of the 5 common text colors tested pass AA for normal text.

Use Purple in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.