#7158A6 color
The hex color #7158A6 is a desaturated violet.
In the RGB color model it is made of 44.3% red, 34.5% green and 65.1% blue (113, 88, 166).
Its hue angle is 259°, with 31% saturation and 50% lightness. For print, the CMYK equivalent is 32% cyan, 47% magenta, 0% yellow and 35% black.
The closest named color is Prophet Violet (#6F58A6), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.76:1).
#7158A6 color codes
| HEX | #7158A6 | |
|---|---|---|
| RGB | rgb(113, 88, 166) | |
| RGB percent | rgb(44.3%, 34.5%, 65.1%) | |
| HSL | hsl(259, 31%, 50%) | |
| HSV / HSB | hsv(259, 47%, 65%) | |
| CMYK | cmyk(32%, 47%, 0%, 35%) | |
| CIE LAB | lab(43.13, 27.85, -38.52) | |
| CIE LCH | lch(43.13, 47.53, 305.87) | |
| CIE XYZ | xyz(17.181, 13.243, 37.72) | |
| Decimal | 7428262 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7158A6, 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 #7158A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.65:1 | Fail | Fail | Pass |
| Sample text | 5.76:1 | Pass | Fail | Pass |
| #7158A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.76:1 | Pass | Fail | Pass |
| Sample text | 3.65: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 #7158A6 looks to people with the most common types of color vision deficiency.
#3f66a9Protanopia
no red cones#4465a4Deuteranopia
no green cones#666677Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #7158a6; }
.text { color: #7158a6; }
.border { border: 2px solid #7158a6; }
.transparent { background-color: rgb(113 88 166 / 50%); }
.gradient { background: linear-gradient(to right, #7158a6, #9858a6); }
Similar colors
#6f58a6Prophet Violet#715bb1Simply Purple#6f5698Passion Flower#7851a9Royal Purple#7851a9Royal Lavender#654ea3Ultrapurple Merge#6f63a0Scampi#75528bNinja Princess
Questions
- What color is #7158A6?
- #7158A6 is a desaturated violet, closest to the named color Prophet Violet. It belongs to the purple family of colors.
- What is the RGB value of #7158A6?
- The RGB value is 113, 88, 166: 113 red, 88 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #7158A6?
- The complementary color is #8DA658, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7158A6?
- White text. Black text has a contrast ratio of 3.65:1 and white text 5.76:1. WCAG asks for at least 4.5:1 for normal text.