#7B5296 color
The hex color #7B5296 is a desaturated violet.
In the RGB color model it is made of 48.2% red, 32.2% green and 58.8% blue (123, 82, 150).
Its hue angle is 276°, with 29% saturation and 45% lightness. For print, the CMYK equivalent is 18% cyan, 45% magenta, 0% yellow and 41% black.
The closest named color is Ninja Princess (#75528B), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.02:1).
#7B5296 color codes
| HEX | #7B5296 | |
|---|---|---|
| RGB | rgb(123, 82, 150) | |
| RGB percent | rgb(48.2%, 32.2%, 58.8%) | |
| HSL | hsl(276, 29%, 45%) | |
| HSV / HSB | hsv(276, 45%, 59%) | |
| CMYK | cmyk(18%, 45%, 0%, 41%) | |
| CIE LAB | lab(41.92, 30.34, -30.82) | |
| CIE LCH | lch(41.92, 43.24, 314.55) | |
| CIE XYZ | xyz(16.69, 12.448, 30.372) | |
| Decimal | 8082070 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B5296, 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 #7B5296 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.49:1 | Fail | Fail | Pass |
| Sample text | 6.02:1 | Pass | Fail | Pass |
| #7B5296 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.02:1 | Pass | Fail | Pass |
| Sample text | 3.49: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 #7B5296 looks to people with the most common types of color vision deficiency.
#436198Protanopia
no red cones#4e6494Deuteranopia
no green cones#785c6dTritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #7b5296; }
.text { color: #7b5296; }
.border { border: 2px solid #7b5296; }
.transparent { background-color: rgb(123 82 150 / 50%); }
.gradient { background: linear-gradient(to right, #7b5296, #96528f); }
Similar colors
#75528bNinja Princess#714a8bGrapes of Italy#6f5698Passion Flower#81459ePurple Pleasures#7851a9Royal Purple#7851a9Royal Lavender#8f509dVicious Violet#864788Prunella
Questions
- What color is #7B5296?
- #7B5296 is a desaturated violet, closest to the named color Ninja Princess. It belongs to the purple family of colors.
- What is the RGB value of #7B5296?
- The RGB value is 123, 82, 150: 123 red, 82 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #7B5296?
- The complementary color is #6D9652, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B5296?
- White text. Black text has a contrast ratio of 3.49:1 and white text 6.02:1. WCAG asks for at least 4.5:1 for normal text.