#904DD3 color
The hex color #904DD3 is a moderate violet.
In the RGB color model it is made of 56.5% red, 30.2% green and 82.7% blue (144, 77, 211).
Its hue angle is 270°, with 60% saturation and 56% lightness. For print, the CMYK equivalent is 32% cyan, 64% magenta, 0% yellow and 17% black.
The closest named color is Magenta Affair (#AA44DD), a difference of 4.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.01:1).
#904DD3 color codes
| HEX | #904DD3 | |
|---|---|---|
| RGB | rgb(144, 77, 211) | |
| RGB percent | rgb(56.5%, 30.2%, 82.7%) | |
| HSL | hsl(270, 60%, 56%) | |
| HSV / HSB | hsv(270, 64%, 83%) | |
| CMYK | cmyk(32%, 64%, 0%, 17%) | |
| CIE LAB | lab(46.9, 53.1, -58.5) | |
| CIE LCH | lch(46.9, 79.01, 312.23) | |
| CIE XYZ | xyz(25.911, 15.94, 63.327) | |
| Decimal | 9457107 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #904DD3, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #904DD3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.19:1 | Fail | Fail | Pass |
| Sample text | 5.01:1 | Pass | Fail | Pass |
| #904DD3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.01:1 | Pass | Fail | Pass |
| Sample text | 4.19:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #904DD3 looks to people with the most common types of color vision deficiency.
#006ed7Protanopia
no red cones#246fd0Deuteranopia
no green cones#836a89Tritanopia
no blue cones#6f6f6fAchromatopsia
no color vision
CSS examples
.background { background-color: #904dd3; }
.text { color: #904dd3; }
.border { border: 2px solid #904dd3; }
.transparent { background-color: rgb(144 77 211 / 50%); }
.gradient { background: linear-gradient(to right, #904dd3, #d34dd3); }
Similar colors
#aa44ddMagenta Affair#9632ceDreamscape Purple#9932ccDark Orchid#9d61d4Legendary Lavender#7442c8Purple Rain#9f4cb7Fuchsia Pheromone#7755eeCandy Grape Fizz#7736d9Hokkaido Lavender
Questions
- What color is #904DD3?
- #904DD3 is a moderate violet, closest to the named color Magenta Affair. It belongs to the purple family of colors.
- What is the RGB value of #904DD3?
- The RGB value is 144, 77, 211: 144 red, 77 green and 211 blue on a 0 to 255 scale.
- What is the complementary color of #904DD3?
- The complementary color is #90D34D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #904DD3?
- White text. Black text has a contrast ratio of 4.19:1 and white text 5.01:1. WCAG asks for at least 4.5:1 for normal text.