#E7AFEB color
The hex color #E7AFEB is a light, moderate magenta.
In the RGB color model it is made of 90.6% red, 68.6% green and 92.2% blue (231, 175, 235).
Its hue angle is 296°, with 60% saturation and 80% lightness. For print, the CMYK equivalent is 2% cyan, 26% magenta, 0% yellow and 8% black.
The closest named color is Candy Dreams (#E9AEF2), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 11.73:1).
#E7AFEB color codes
| HEX | #E7AFEB | |
|---|---|---|
| RGB | rgb(231, 175, 235) | |
| RGB percent | rgb(90.6%, 68.6%, 92.2%) | |
| HSL | hsl(296, 60%, 80%) | |
| HSV / HSB | hsv(296, 26%, 92%) | |
| CMYK | cmyk(2%, 26%, 0%, 8%) | |
| CIE LAB | lab(78.26, 30.31, -22.08) | |
| CIE LCH | lch(78.26, 37.5, 323.93) | |
| CIE XYZ | xyz(63.279, 53.649, 85.603) | |
| Decimal | 15183851 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #E7AFEB, 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 #E7AFEB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.73:1 | Pass | Pass | Pass |
| Sample text | 1.79:1 | Fail | Fail | Fail |
| #E7AFEB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.73:1 | Pass | Pass | 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 #E7AFEB looks to people with the most common types of color vision deficiency.
#aabdedProtanopia
no red cones#b7c4e9Deuteranopia
no green cones#eab4c4Tritanopia
no blue cones#c2c2c2Achromatopsia
no color vision
CSS examples
.background { background-color: #e7afeb; }
.text { color: #e7afeb; }
.border { border: 2px solid #e7afeb; }
.transparent { background-color: rgb(231 175 235 / 50%); }
.gradient { background: linear-gradient(to right, #e7afeb, #ebafd1); }
Similar colors
#e9aef2Candy Dreams#deadeaControlled Substance#edabe6Land of Dreams#eeaaeePinky Swear#e8a7e2Candy Floss#f8b3ffStrawberry Buttercream#f2abe1Hanami Pink#d39ed2Velvet Horizon
Closest common color name: Mauve.
Questions
- What color is #E7AFEB?
- #E7AFEB is a light, moderate magenta, closest to the named color Candy Dreams. It belongs to the purple family of colors.
- What is the RGB value of #E7AFEB?
- The RGB value is 231, 175, 235: 231 red, 175 green and 235 blue on a 0 to 255 scale.
- What is the complementary color of #E7AFEB?
- The complementary color is #B3EBAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #E7AFEB?
- Black text. Black text has a contrast ratio of 11.73:1 and white text 1.79:1. WCAG asks for at least 4.5:1 for normal text.