Medium Purple Color (#9370DB)
Medium Purple is a CSS named color defined as hex code #9370DB. Medium Purple is a soft, mid-tone purple with a lean toward blue. It is lighter and cooler than CSS purple.
Color Overview & Formats
mediumpurpleLuminance: 0.2291| Format | Syntax / Values | Notes | Action |
|---|---|---|---|
| HEX | #9370DB | 6-digit hex web code | |
| RGB | rgb(147, 112, 219) | Red, Green, Blue channels (0-255) | |
| HSL | hsl(260, 60%, 65%) | Hue (260°), Saturation (60%), Lightness (65%) | |
| HSV / HSB | hsv(260, 49%, 86%) | Hue, Saturation (49%), Value/Brightness (86%) | |
| CMYK | cmyk(33%, 49%, 0%, 14%) | Digital mathematical approximation (non-print) | |
| OKLCH | oklch(0.627 0.158 296.7) | Perceptually uniform color space (CSS Color 4 approximation) |
background-color: #9370DB; /* or mediumpurple */- Select color format: Choose the desired format (HEX #9370DB, RGB, or HSL).
- Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
- Pair with black text: Black text on Medium Purple reaches 5.58:1 (WCAG AA).
What Colors Go With Medium Purple?
These 6 colors all go well with Medium Purple (#9370DB), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Medium Purple: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.
Harmonious Palettes & Tints
The palettes below are algorithmically generated across standard intervals based on Medium Purple (HSL 260°). Each group offers full palette copy and live preview:
Complementary Harmony
Hue rotated 180 degrees on the HSL wheel (260° to 80°), keeping the original saturation and lightness.
Analogous Harmony
Hues 30 degrees either side (230° and 290°), keeping the original saturation and lightness.
Triadic Harmony
Hues spaced evenly by 120 degrees (20° and 140°), keeping the original saturation and lightness.
Tints & Shades
Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.
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:
| Foreground Color | Contrast Ratio | Normal Text (AA) | Large Text (AA) | Normal Text AAA (>= 7.0:1) |
|---|---|---|---|---|
Pure Black (#000000) | 5.58:1 | Pass | Pass | Fail |
Pure White (#FFFFFF) | 3.76:1 | Fail | Pass | Fail |
Dark Charcoal (#212529) | 4.10:1 | Fail | Pass | Fail |
Mid Gray (#666666) | 1.53:1 | Fail | Fail | Fail |
Interactive Contrast Tester
Enter text foreground and background colors to verify WCAG legibility:
This is sample body text rendered directly to verify contrast and readability.
Medium Purple Background Download
Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:
Standard Wallpaper: 1920x1080 PNG (#9370DB)Download Options
All wallpaper files precisely match the W3C standard color value:
CSS Standard & Usage Notes
mediumpurple = #9370db (rgb(147, 112, 219))
UI Design & Accessibility Guidelines
Use it for accents, tags, illustrations, gradients and friendly, creative brands. On Medium Purple, black text passes WCAG AA at every size (5.58:1); white text passes only for large text (3.76:1).
Frequently Asked Questions (FAQ)
Can I use black text on Medium Purple?
Yes. Black text on Medium Purple has a WCAG 2.2 contrast ratio of 5.58:1, which passes AA (4.5:1) for all text sizes but not the stricter AAA level (7:1) for body text.
Can I use white text on Medium Purple?
Only for large text. White text on Medium Purple has a WCAG 2.2 contrast ratio of 3.76:1: enough for large text (3:1) but below the 4.5:1 needed for body text.
What colors go with Medium Purple?
Black, White, Navy, Gold, Lavender and Midnight Blue all go well with Medium Purple. Black (5.58:1) has enough contrast for text on Medium Purple; White, Navy, Gold, Lavender and Midnight Blue work better as a background or accent.
Is medium purple the same as purple?
No. CSS purple (#800080) is darker and leans toward magenta, with a hue of 300°. Medium Purple (#9370DB) is lighter and bluer, with a hue of 260°.