#ECE7FB color
The hex color #ECE7FB is a very light, moderate violet.
In the RGB color model it is made of 92.5% red, 90.6% green and 98.4% blue (236, 231, 251).
Its hue angle is 255°, with 71% saturation and 95% lightness. For print, the CMYK equivalent is 6% cyan, 8% magenta, 0% yellow and 2% black.
The closest named color is Lavender (#E6E6FA), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 17.39:1).
#ECE7FB color codes
| HEX | #ECE7FB | |
|---|---|---|
| RGB | rgb(236, 231, 251) | |
| RGB percent | rgb(92.5%, 90.6%, 98.4%) | |
| HSL | hsl(255, 71%, 95%) | |
| HSV / HSB | hsv(255, 8%, 98%) | |
| CMYK | cmyk(6%, 8%, 0%, 2%) | |
| CIE LAB | lab(92.55, 5.32, -9.06) | |
| CIE LCH | lch(92.55, 10.5, 300.42) | |
| CIE XYZ | xyz(80.577, 81.95, 102.821) | |
| Decimal | 15525883 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ECE7FB, 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 #ECE7FB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.39:1 | Pass | Pass | Pass |
| Sample text | 1.21:1 | Fail | Fail | Fail |
| #ECE7FB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.39: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 #ECE7FB looks to people with the most common types of color vision deficiency.
#e3eafcProtanopia
no red cones#e4e9faDeuteranopia
no green cones#eaeaedTritanopia
no blue cones#eaeaeaAchromatopsia
no color vision
CSS examples
.background { background-color: #ece7fb; }
.text { color: #ece7fb; }
.border { border: 2px solid #ece7fb; }
.transparent { background-color: rgb(236 231 251 / 50%); }
.gradient { background: linear-gradient(to right, #ece7fb, #f6e7fb); }
Similar colors
#e6e6faLavender#efeeffFoundation White#f0e5f5Holographic Lavender#f3e9f7Perfume Haze#e8dfedPink Champagne#e3dfecVelvet Scarf#f6f1feCloud Break#e5e0ecHomoeopathic Lavender
Questions
- What color is #ECE7FB?
- #ECE7FB is a very light, moderate violet, closest to the named color Lavender. It belongs to the purple family of colors.
- What is the RGB value of #ECE7FB?
- The RGB value is 236, 231, 251: 236 red, 231 green and 251 blue on a 0 to 255 scale.
- What is the complementary color of #ECE7FB?
- The complementary color is #F6FBE7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ECE7FB?
- Black text. Black text has a contrast ratio of 17.39:1 and white text 1.21:1. WCAG asks for at least 4.5:1 for normal text.