Color values
#800080rgb(128, 0, 128)hsl(300 100% 25%)300°, 100%, 50%0%, 100%, 0%, 50%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
Purple is the standard CSS named color #800080, a dark equal-channel red/blue color distinct from the brighter CSS fuchsia/magenta value.
Purple is the CSS named color keyword purple, standardized at #800080 in sRGB.
#800080rgb(128, 0, 128)hsl(300 100% 25%)300°, 100%, 50%0%, 100%, 0%, 50%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
AA normal text: black fails; white passes.
AA large text: black fails; white passes.
WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.
These steps are computed by RGB-mixing #800080 toward white or black. They are generated values, not official named colors.
#E6CCE6 #CC99CC #B366B3 #993399 #800080 #660066 #4D004D #330033 #1A001A Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.
.example {
color: #FFFFFF;
background-color: purple;
} You can use either purple or #800080 in CSS; both resolve to the same sRGB color.
Closest entries in the current Colormapped set by simple RGB-channel distance:
RGB distance is a simple numerical comparison, not a perceptual color-difference standard.
The keyword and base sRGB value come from the standardized CSS named-color set documented by MDN’s named-color reference. Derived values on this page are computed from that sRGB value.
Contrast uses the W3C relative-luminance formula and thresholds described in WCAG Contrast (Minimum).
Convert #800080 with the HEX to RGB converter, test another foreground/background pair in the Contrast Checker, or browse the shade families.