Purple Color (#800080)

#800080rgb(128, 0, 128)

Purple is a CSS named color defined as hex code #800080. CSS purple is #800080: red and blue at half strength with no green, which gives a dark, magenta-leaning purple.

Color Overview & Formats

CSS: purpleLuminance: 0.0615
HEX
#800080
RGB
rgb(128, 0, 128)
HSL
hsl(300, 100%, 25%)
Purple (#800080) Color Format Conversions
FormatSyntax / ValuesNotesAction
HEX#8000806-digit hex web code
RGBrgb(128, 0, 128)Red, Green, Blue channels (0-255)
HSLhsl(300, 100%, 25%)Hue (300°), Saturation (100%), Lightness (25%)
HSV / HSBhsv(300, 100%, 50%)Hue, Saturation (100%), Value/Brightness (50%)
CMYKcmyk(0%, 100%, 0%, 50%)Digital mathematical approximation (non-print)
OKLCHoklch(0.421 0.193 328.4)Perceptually uniform color space (CSS Color 4 approximation)
CSS Implementation & Quick Steps
background-color: #800080; /* or purple */
  1. Select color format: Choose the desired format (HEX #800080, RGB, or HSL).
  2. Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
  3. Pair with white text: White text on Purple reaches 9.42:1 (WCAG AAA).

What Colors Go With Purple?

These 6 colors all go well with Purple (#800080), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Purple: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.

White

#FFFFFF
9.42:1Text-safe

The natural text color on purple buttons and banners.

Gold

#FFD700
6.72:1Text-safe

A classic royal pairing for crests, borders and headings.

Lavender

#E6E6FA
7.65:1Text-safe

A pale tonal partner for backgrounds and soft text.

Pink

#FFC0CB
6.12:1Text-safe

A soft, playful contrast that stays in the same warm family.

Light Gray

#D3D3D3
6.29:1Text-safe

A cool neutral for secondary text and dividers.

Plum

#DDA0DD
4.55:1Text-safe

A lighter purple for gradients and layered tonal designs.

Harmonious Palettes & Tints

The palettes below are algorithmically generated across standard intervals based on Purple (HSL 300°). Each group offers full palette copy and live preview:

Complementary Harmony

Hue rotated 180 degrees on the HSL wheel (300° to 120°), keeping the original saturation and lightness.

Purple
#800080
Complement (120°)
#008000
Live UI Component Mockup
Component Header SampleWhite text on Purple: 9.42:1 (WCAG AAA).
Button style preview

Analogous Harmony

Hues 30 degrees either side (270° and 330°), keeping the original saturation and lightness.

Analogous (270°)
#400080
Purple
#800080
Analogous (330°)
#800040
Live UI Component Mockup
Component Header SampleWhite text on Purple: 9.42:1 (WCAG AAA).
Button style preview

Triadic Harmony

Hues spaced evenly by 120 degrees (60° and 180°), keeping the original saturation and lightness.

Purple
#800080
Triadic (60°)
#808000
Triadic (180°)
#008080
Live UI Component Mockup
Component Header SampleWhite text on Purple: 9.42:1 (WCAG AAA).
Button style preview

Tints & Shades

Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.

Tint 60%
#CC99CC
Tint 30%
#A64DA6
Purple
#800080
Shade 30%
#5A005A
Shade 60%
#330033
Live UI Component Mockup
Component Header SampleWhite text on Purple: 9.42:1 (WCAG AAA).
Button style preview

WCAG 2.2 Text Readability & Contrast Check

Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:

Text Contrast Ratios on Purple (#800080)
Foreground ColorContrast RatioNormal Text (AA)Large Text (AA)Normal Text AAA (>= 7.0:1)
Pure Black (#000000)
2.23:1FailFailFail
Pure White (#FFFFFF)
9.42:1PassPassPass
Dark Charcoal (#212529)
1.64:1FailFailFail
Mid Gray (#666666)
1.64:1FailFailFail

Interactive Contrast Tester

Enter text foreground and background colors to verify WCAG legibility:

Calculated Ratio:
9.42:1
Normal: Pass AAALarge: Pass AAA
Large Heading Sample (18pt Bold)

This is sample body text rendered directly to verify contrast and readability.

Purple Background Download

Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:

Purple 1920x1080 solid color background wallpaper previewStandard Wallpaper: 1920x1080 PNG (#800080)

Download Options

All wallpaper files precisely match the W3C standard color value:

Download 1920x1080 PNG

CSS Standard & Usage Notes

purple = #800080 (rgb(128, 0, 128))
W3C CSS Color 4

UI Design & Accessibility Guidelines

Use it for headers, buttons, creative and beauty brands, and as a rich accent on light backgrounds. On Purple, white text passes WCAG AAA at every size (9.42:1); black text fails even for large text (2.23:1).

Published: · Modified: · Editorial: SwatchAtlas Editorial Team

Frequently Asked Questions (FAQ)

Can I use black text on Purple?

No. Black text on Purple has a WCAG 2.2 contrast ratio of only 2.23:1, below the 3:1 minimum even for large text.

Can I use white text on Purple?

Yes. White text on Purple has a WCAG 2.2 contrast ratio of 9.42:1, passing both AA (4.5:1) and AAA (7:1) at every text size.

What colors go with Purple?

White, Gold, Lavender, Pink, Light Gray and Plum all go well with Purple. White (9.42:1), Gold (6.72:1), Lavender (7.65:1), Pink (6.12:1), Light Gray (6.29:1) and Plum (4.55:1) have enough contrast for text on Purple.

Why does purple look different in some software?

Some programs follow the older X11 color list, where purple is #A020F0, a brighter violet-purple. CSS defines purple as #800080.