#9D74D5 color
The hex color #9D74D5 is a light, moderate violet.
In the RGB color model it is made of 61.6% red, 45.5% green and 83.5% blue (157, 116, 213).
Its hue angle is 265°, with 54% saturation and 65% lightness. For print, the CMYK equivalent is 26% cyan, 46% magenta, 0% yellow and 16% black.
The closest named color is Medium Purple (#9370DB), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.89:1).
#9D74D5 color codes
| HEX | #9D74D5 | |
|---|---|---|
| RGB | rgb(157, 116, 213) | |
| RGB percent | rgb(61.6%, 45.5%, 83.5%) | |
| HSL | hsl(265, 54%, 65%) | |
| HSV / HSB | hsv(265, 46%, 84%) | |
| CMYK | cmyk(26%, 46%, 0%, 16%) | |
| CIE LAB | lab(56.55, 35.7, -44.15) | |
| CIE LCH | lch(56.55, 56.77, 308.96) | |
| CIE XYZ | xyz(32.158, 24.463, 65.966) | |
| Decimal | 10319061 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D74D5, 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 #9D74D5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.89:1 | Pass | Fail | Pass |
| Sample text | 3.56:1 | Fail | Fail | Pass |
| #9D74D5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.56:1 | Fail | Fail | Pass |
| Sample text | 5.89:1 | Pass | 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 #9D74D5 looks to people with the most common types of color vision deficiency.
#5987d9Protanopia
no red cones#6287d3Deuteranopia
no green cones#93859aTritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #9d74d5; }
.text { color: #9d74d5; }
.border { border: 2px solid #9d74d5; }
.transparent { background-color: rgb(157 116 213 / 50%); }
.gradient { background: linear-gradient(to right, #9d74d5, #ce74d5); }
Similar colors
#9370dbMedium Purple#9370dbMatt Purple#a669dbViolet Voltage#9966ccAmethyst#966ebdViola#9d61d4Legendary Lavender#8469bcLavish Spending#a264baPrickly Purple
Questions
- What color is #9D74D5?
- #9D74D5 is a light, moderate violet, closest to the named color Medium Purple. It belongs to the purple family of colors.
- What is the RGB value of #9D74D5?
- The RGB value is 157, 116, 213: 157 red, 116 green and 213 blue on a 0 to 255 scale.
- What is the complementary color of #9D74D5?
- The complementary color is #ACD574, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D74D5?
- Black text. Black text has a contrast ratio of 5.89:1 and white text 3.56:1. WCAG asks for at least 4.5:1 for normal text.