#9D4DCB color
The hex color #9D4DCB is a moderate violet.
In the RGB color model it is made of 61.6% red, 30.2% green and 79.6% blue (157, 77, 203).
Its hue angle is 278°, with 55% saturation and 55% lightness. For print, the CMYK equivalent is 23% cyan, 62% magenta, 0% yellow and 20% black.
The closest named color is Magenta Affair (#AA44DD), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.82:1).
#9D4DCB color codes
| HEX | #9D4DCB | |
|---|---|---|
| RGB | rgb(157, 77, 203) | |
| RGB percent | rgb(61.6%, 30.2%, 79.6%) | |
| HSL | hsl(278, 55%, 55%) | |
| HSV / HSB | hsv(278, 62%, 80%) | |
| CMYK | cmyk(23%, 62%, 0%, 20%) | |
| CIE LAB | lab(47.99, 54.21, -52.06) | |
| CIE LCH | lch(47.99, 75.16, 316.16) | |
| CIE XYZ | xyz(27.336, 16.788, 58.289) | |
| Decimal | 10309067 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D4DCB, 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 #9D4DCB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.36:1 | Fail | Fail | Pass |
| Sample text | 4.82:1 | Pass | Fail | Pass |
| #9D4DCB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.82:1 | Pass | Fail | Pass |
| Sample text | 4.36: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 #9D4DCB looks to people with the most common types of color vision deficiency.
#146ecfProtanopia
no red cones#4073c8Deuteranopia
no green cones#976585Tritanopia
no blue cones#727272Achromatopsia
no color vision
CSS examples
.background { background-color: #9d4dcb; }
.text { color: #9d4dcb; }
.border { border: 2px solid #9d4dcb; }
.transparent { background-color: rgb(157 77 203 / 50%); }
.gradient { background: linear-gradient(to right, #9d4dcb, #cb4dba); }
Similar colors
#aa44ddMagenta Affair#9f4cb7Fuchsia Pheromone#9d61d4Legendary Lavender#9932ccDark Orchid#9632ceDreamscape Purple#aa22ccTelemagenta#9966ccAmethyst#ba55d3Medium Orchid
Questions
- What color is #9D4DCB?
- #9D4DCB 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 #9D4DCB?
- The RGB value is 157, 77, 203: 157 red, 77 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #9D4DCB?
- The complementary color is #7BCB4D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D4DCB?
- White text. Black text has a contrast ratio of 4.36:1 and white text 4.82:1. WCAG asks for at least 4.5:1 for normal text.