#8000FF color
#8000FF is a medium, vivid violet, closest to the CSS named color darkviolet (#9400D3).
Color values
| HEX | #8000FF |
| RGB | rgb(128, 0, 255) |
| HSL | hsl(270, 100%, 50%) |
| CMYK | cmyk(50%, 100%, 0%, 0%) |
| Decimal | 8388863 |
| CSS | color: #8000FF; |
| Android | 0xFF8000FF |
| Swift | UIColor(red: 0.502, green: 0.000, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #8000FF | 6.25:1 — AA pass · AA large pass · AAA fail |
| Black text on #8000FF | 3.36:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #8000FF
Each swatch keeps the hue and saturation of #8000FF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #8000FF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #8000FF in code
/* CSS */
.element { color: #8000FF; background-color: #8000FF; }
.element { color: rgb(128 0 255); }
.element { color: hsl(270 100% 50%); }
/* Tailwind arbitrary value */
<div class="bg-[#8000FF] text-white">
/* SCSS variable */
$brand: #8000FF;
Frequently asked questions
What color is #8000FF?
#8000FF is a medium, vivid violet. Its hue sits at 270° on the color wheel, with 100% saturation and 50% lightness.
What is #8000FF in RGB?
#8000FF converts to rgb(128, 0, 255) — 128 red, 0 green and 255 blue.
What is #8000FF in CMYK?
Approximately cmyk(50%, 100%, 0%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #8000FF be white or black?
White gives the better contrast ratio (6.25:1 versus 3.36:1).
What is the complementary color of #8000FF?
#80FF00 — the hue directly opposite #8000FF on the color wheel.