#7F5FAC color
The hex color #7F5FAC is a desaturated violet.
In the RGB color model it is made of 49.8% red, 37.3% green and 67.5% blue (127, 95, 172).
Its hue angle is 265°, with 32% saturation and 52% lightness. For print, the CMYK equivalent is 26% cyan, 45% magenta, 0% yellow and 33% black.
The closest named color is Simply Purple (#715BB1), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.08:1).
#7F5FAC color codes
| HEX | #7F5FAC | |
|---|---|---|
| RGB | rgb(127, 95, 172) | |
| RGB percent | rgb(49.8%, 37.3%, 67.5%) | |
| HSL | hsl(265, 32%, 52%) | |
| HSV / HSB | hsv(265, 45%, 67%) | |
| CMYK | cmyk(26%, 45%, 0%, 33%) | |
| CIE LAB | lab(46.55, 29.23, -36.56) | |
| CIE LCH | lch(46.55, 46.81, 308.64) | |
| CIE XYZ | xyz(20.289, 15.675, 40.978) | |
| Decimal | 8347564 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F5FAC, 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 #7F5FAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.14:1 | Fail | Fail | Pass |
| Sample text | 5.08:1 | Pass | Fail | Pass |
| #7F5FAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.08:1 | Pass | Fail | Pass |
| Sample text | 4.14: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 #7F5FAC looks to people with the most common types of color vision deficiency.
#4a6eafProtanopia
no red cones#516eaaDeuteranopia
no green cones#776c7dTritanopia
no blue cones#6e6e6eAchromatopsia
no color vision
CSS examples
.background { background-color: #7f5fac; }
.text { color: #7f5fac; }
.border { border: 2px solid #7f5fac; }
.transparent { background-color: rgb(127 95 172 / 50%); }
.gradient { background: linear-gradient(to right, #7f5fac, #a65fac); }
Similar colors
#715bb1Simply Purple#6f58a6Prophet Violet#8469bcLavish Spending#7851a9Royal Purple#7851a9Royal Lavender#6f63a0Scampi#6f5698Passion Flower#7a6dc0Venus Violet
Questions
- What color is #7F5FAC?
- #7F5FAC is a desaturated violet, closest to the named color Simply Purple. It belongs to the purple family of colors.
- What is the RGB value of #7F5FAC?
- The RGB value is 127, 95, 172: 127 red, 95 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #7F5FAC?
- The complementary color is #8CAC5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F5FAC?
- White text. Black text has a contrast ratio of 4.14:1 and white text 5.08:1. WCAG asks for at least 4.5:1 for normal text.