Purple Color — #800080 HEX Code
Purple uses #800080, or RGB(128, 0, 128), in this color catalog. Explore complementary colors, palettes and text contrast below.
Color Wheel
Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes. Explore analogous harmonies for Purple.
Click a swatch to select · Click hex to copy
Colors adjacent on the wheel create a serene, comfortable palette. Ideal for nature-inspired designs and cohesive UI themes.
Purple
#800080
Purple color reference
Updated
Purple uses equal red and blue channels in CSS. It is much darker than CSS violet, so swapping the two changes both the appearance and reading contrast.
CSS keyword: purple. Each resolves to #800080 in sRGB.
- HEX — exact
- #800080
- RGB — exact 8-bit channels
- 128, 0, 128
- HSL — rounded
- 300°, 100%, 25%
What is the complementary color?
An HSL hue rotation of 180° gives #008000, keeping the rounded saturation and lightness values. This reference calculation rounds HSL before converting back to RGB. It is a digital harmony starting point, not a pigment-mixing rule or a guarantee of readable text.
Black or white text on Purple?
AA requires at least 4.5:1 for normal text. Results use opaque colors and unrounded contrast values; a passing pair does not establish complete accessibility.
A worked palette in this color family
For a purple-led dark theme, inspect the plum and lavender palette and the dashboard method for checking component text and adjacent boundaries.
The collection uses its own listed HEX values; it does not substitute them for this #800080 reference.
Dark Mode Color Palettes: roles, contrast checks and CSSUse #800080 in a real interface
Exact match in the Color Match reference list: Purple. Reference names are browsing labels; not every name is a CSS keyword.
Try purple as an action or header surface with a light label.
Darker neighboring surfaces can hide the edge. Check focus outside the purple area.
Assign roles and check the pair
The lightest and darkest supplied values are the starting reading pair. The accent label adds black or white, whichever has greater contrast. You can change the accent below.
A palette in context
Use this preview to inspect reading text and an accent label.
Example actionReading text #800080 on #F3E8FF: 7.983:1 - Pass normal text AA.
Accent label #FFFFFF on #800080: 9.419:1.
Checks use unrounded ratios and opaque sRGB. The example action is a visual sample. Test boundaries, focus and hover in your actual component.
All color pairs: normal text AA
| Text / background | #800080 | #F3E8FF |
|---|---|---|
| #800080 | 1.00:1 Fail | 7.98:1 Pass |
| #F3E8FF | 7.98:1 Pass | 1.00:1 Fail |
:root {
--surface: #F3E8FF;
--text: #800080;
--accent: #800080;
--on-accent: #FFFFFF;
}Shades & Tints
Tints (Adding White)
Shades (Adding Black)
Theme Palettes
Pastel
Vintage
Neon
Dark Mode
Nature
Live Website Preview
Preview your landing page
See your selected colors on headings, surfaces and example actions.
Accessibility
Text contrast on Purple
Each sample uses this color as the background. Results describe opaque text contrast, not the accessibility of a whole design.
White text
A normal-size text example.
#FFFFFF on #800080
WCAG: 9.419:1
Normal text: AAA. Large text: AAA.
APCA: -94.10 Lc (supplementary).
Inspect this pair and find a fixBlack text
A normal-size text example.
#000000 on #800080
WCAG: 2.230:1
Normal text: Fail. Large text: Fail.
APCA: 14.39 Lc (supplementary).
Inspect this pair and find a fixAA needs 4.5:1 for normal text and 3:1 for large text. Large text is at least 24 CSS px, or about 18.67 CSS px and bold. Methods and limitations
Vision Simulator
Normal Vision
Vision: Viénot 1999 + Machado 2009. Environment: approximate perceptual simulation.
Extract Colors from Image
Drop image, click, or paste
PNG · JPG · WebP · GIF