#D24DFF color
#D24DFF is a light, vivid violet, closest to the CSS named color mediumorchid (#BA55D3).
Color values
| HEX | #D24DFF |
| RGB | rgb(210, 77, 255) |
| HSL | hsl(285, 100%, 65%) |
| CMYK | cmyk(18%, 70%, 0%, 0%) |
| Decimal | 13782527 |
| CSS | color: #D24DFF; |
| Android | 0xFFD24DFF |
| Swift | UIColor(red: 0.824, green: 0.302, blue: 1.000, alpha: 1) |
Accessibility and contrast
| White text on #D24DFF | 3.36:1 — AA fail · AA large pass · AAA fail |
| Black text on #D24DFF | 6.25:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
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 #D24DFF
Each swatch keeps the hue and saturation of #D24DFF and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #D24DFF
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #D24DFF in code
/* CSS */
.element { color: #D24DFF; background-color: #D24DFF; }
.element { color: rgb(210 77 255); }
.element { color: hsl(285 100% 65%); }
/* Tailwind arbitrary value */
<div class="bg-[#D24DFF] text-black">
/* SCSS variable */
$brand: #D24DFF;
Frequently asked questions
What color is #D24DFF?
#D24DFF is a light, vivid violet. Its hue sits at 285° on the color wheel, with 100% saturation and 65% lightness.
What is #D24DFF in RGB?
#D24DFF converts to rgb(210, 77, 255) — 210 red, 77 green and 255 blue.
What is #D24DFF in CMYK?
Approximately cmyk(18%, 70%, 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 #D24DFF be white or black?
Black gives the better contrast ratio (6.25:1 versus 3.36:1).
What is the complementary color of #D24DFF?
#79FF4D — the hue directly opposite #D24DFF on the color wheel.