#9900EF color
#9900EF is a medium, vivid violet, closest to the CSS named color darkviolet (#9400D3).
Color values
| HEX | #9900EF |
| RGB | rgb(153, 0, 239) |
| HSL | hsl(278, 100%, 47%) |
| CMYK | cmyk(36%, 100%, 0%, 6%) |
| Decimal | 10027247 |
| CSS | color: #9900EF; |
| Android | 0xFF9900EF |
| Swift | UIColor(red: 0.600, green: 0.000, blue: 0.937, alpha: 1) |
Accessibility and contrast
| White text on #9900EF | 5.83:1 — AA pass · AA large pass · AAA fail |
| Black text on #9900EF | 3.60: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 #9900EF
Each swatch keeps the hue and saturation of #9900EF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #9900EF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #9900EF in code
/* CSS */
.element { color: #9900EF; background-color: #9900EF; }
.element { color: rgb(153 0 239); }
.element { color: hsl(278 100% 47%); }
/* Tailwind arbitrary value */
<div class="bg-[#9900EF] text-white">
/* SCSS variable */
$brand: #9900EF;
Frequently asked questions
What color is #9900EF?
#9900EF is a medium, vivid violet. Its hue sits at 278° on the color wheel, with 100% saturation and 47% lightness.
What is #9900EF in RGB?
#9900EF converts to rgb(153, 0, 239) — 153 red, 0 green and 239 blue.
What is #9900EF in CMYK?
Approximately cmyk(36%, 100%, 0%, 6%). 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 #9900EF be white or black?
White gives the better contrast ratio (5.83:1 versus 3.60:1).
What is the complementary color of #9900EF?
#58F000 — the hue directly opposite #9900EF on the color wheel.