#9D79B4 color
The hex color #9D79B4 is a desaturated violet.
In the RGB color model it is made of 61.6% red, 47.5% green and 70.6% blue (157, 121, 180).
Its hue angle is 277°, with 28% saturation and 59% lightness. For print, the CMYK equivalent is 13% cyan, 33% magenta, 0% yellow and 29% black.
The closest named color is Lavender Purple (#967BB6), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.83:1).
#9D79B4 color codes
| HEX | #9D79B4 | |
|---|---|---|
| RGB | rgb(157, 121, 180) | |
| RGB percent | rgb(61.6%, 47.5%, 70.6%) | |
| HSL | hsl(277, 28%, 59%) | |
| HSV / HSB | hsv(277, 33%, 71%) | |
| CMYK | cmyk(13%, 33%, 0%, 29%) | |
| CIE LAB | lab(56.23, 25.21, -25.87) | |
| CIE LCH | lch(56.23, 36.12, 314.25) | |
| CIE XYZ | xyz(28.979, 24.139, 46.304) | |
| Decimal | 10320308 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D79B4, 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 #9D79B4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.83:1 | Pass | Fail | Pass |
| Sample text | 3.6:1 | Fail | Fail | Pass |
| #9D79B4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.6:1 | Fail | Fail | Pass |
| Sample text | 5.83: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 #9D79B4 looks to people with the most common types of color vision deficiency.
#6f85b6Protanopia
no red cones#7788b2Deuteranopia
no green cones#9b818eTritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #9d79b4; }
.text { color: #9d79b4; }
.border { border: 2px solid #9d79b4; }
.transparent { background-color: rgb(157 121 180 / 50%); }
.gradient { background: linear-gradient(to right, #9d79b4, #b479ae); }
Similar colors
#967bb6Lavender Purple#ab7cb4Berries Galore#a97fb1Heart Potion#946dadCrown Jewels#9c87c1Petrified Purple#966ebdViola#867ba9Aster#9488beMagic Carpet
Questions
- What color is #9D79B4?
- #9D79B4 is a desaturated violet, closest to the named color Lavender Purple. It belongs to the purple family of colors.
- What is the RGB value of #9D79B4?
- The RGB value is 157, 121, 180: 157 red, 121 green and 180 blue on a 0 to 255 scale.
- What is the complementary color of #9D79B4?
- The complementary color is #90B479, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D79B4?
- Black text. Black text has a contrast ratio of 5.83:1 and white text 3.6:1. WCAG asks for at least 4.5:1 for normal text.