#7C5D9B color
The hex color #7C5D9B is a desaturated violet.
In the RGB color model it is made of 48.6% red, 36.5% green and 60.8% blue (124, 93, 155).
Its hue angle is 270°, with 25% saturation and 49% lightness. For print, the CMYK equivalent is 20% cyan, 40% magenta, 0% yellow and 39% black.
The closest named color is Passion Flower (#6F5698), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.39:1).
#7C5D9B color codes
| HEX | #7C5D9B | |
|---|---|---|
| RGB | rgb(124, 93, 155) | |
| RGB percent | rgb(48.6%, 36.5%, 60.8%) | |
| HSL | hsl(270, 25%, 49%) | |
| HSV / HSB | hsv(270, 40%, 61%) | |
| CMYK | cmyk(20%, 40%, 0%, 39%) | |
| CIE LAB | lab(44.91, 25.32, -29.11) | |
| CIE LCH | lch(44.91, 38.58, 311.02) | |
| CIE XYZ | xyz(18.142, 14.48, 32.843) | |
| Decimal | 8150427 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C5D9B, 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 #7C5D9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.9:1 | Fail | Fail | Pass |
| Sample text | 5.39:1 | Pass | Fail | Pass |
| #7C5D9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.39:1 | Pass | Fail | Pass |
| Sample text | 3.9: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 #7C5D9B looks to people with the most common types of color vision deficiency.
#4f699dProtanopia
no red cones#566b99Deuteranopia
no green cones#776774Tritanopia
no blue cones#6a6a6aAchromatopsia
no color vision
CSS examples
.background { background-color: #7c5d9b; }
.text { color: #7c5d9b; }
.border { border: 2px solid #7c5d9b; }
.transparent { background-color: rgb(124 93 155 / 50%); }
.gradient { background: linear-gradient(to right, #7c5d9b, #9b5d9b); }
Similar colors
#6f5698Passion Flower#75528bNinja Princess#6f63a0Scampi#6f58a6Prophet Violet#7851a9Royal Purple#7851a9Royal Lavender#805b87Muted Purple#8f509dVicious Violet
Questions
- What color is #7C5D9B?
- #7C5D9B is a desaturated violet, closest to the named color Passion Flower. It belongs to the purple family of colors.
- What is the RGB value of #7C5D9B?
- The RGB value is 124, 93, 155: 124 red, 93 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #7C5D9B?
- The complementary color is #7C9B5D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C5D9B?
- White text. Black text has a contrast ratio of 3.9:1 and white text 5.39:1. WCAG asks for at least 4.5:1 for normal text.