#ECECFB
Closest named color: Lavender (#E6E6FA). oklch(94.7% 0.02 286), rgb(236, 236, 251).
Aa
Black text reads best on this color (17.95:1).
About this color
#ECECFB is a very light close to neutral grey. In OKLCH its lightness is 95%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Lavender (#E6E6FA), ΔE 0.018 away. Black text reads best on it, at 17.95:1.
| Hue family | Neutrals |
| Lightness | very light (95%) |
| Chroma | close to neutral grey (0.020) |
| Temperature | neutral |
| Nearest name | Lavender (#E6E6FA) |
| Black text | 17.95:1 |
| White text | 1.16:1 |
Values
| HEX | #ECECFB |
| RGB | rgb(236, 236, 251) |
| HSL | hsl(240, 65%, 95%) |
| OKLCH | oklch(94.7% 0.02 286) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #ECECFB | 1.16:1 | Fails | Lc -9.5 | Not readable |
| Black text on #ECECFB | 17.95:1 | AAA | Lc 95.4 | Preferred for body text |
| #ECECFB text on white | 1.16:1 | Fails | Lc 8.1 | Not readable |
| #ECECFB text on black | 17.95:1 | AAA | Lc -96.2 | Preferred for body text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 100.
-
Step 50
50
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100 (this color)
#ECECFB
oklch(94.7% 0.02 286)
-
Step 200
200
#D8D8E2
oklch(88.5% 0.014 286.1)
-
Step 300
300
#BFBFD1
oklch(81% 0.025 285.8)
-
Step 400
400
#9E9DBA
oklch(70.7% 0.042 286.9)
-
Step 500
500
#8685A9
oklch(63.1% 0.054 286)
-
Step 600
600
#706F94
oklch(55.7% 0.057 285.6)
-
Step 700
700
#5E5C7E
oklch(49% 0.054 286.9)
-
Step 800
800
#4D4C66
oklch(42.8% 0.043 286.2)
-
Step 900
900
#403F53
oklch(37.7% 0.034 286.9)
-
Step 950
950
#252531
oklch(27% 0.022 284.8)
#ECECFB with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #E9EEFC | 0.006 |
| Deuteranopia (no green cones) | #E8EDFB | 0.006 |
| Tritanopia (no blue cones) | #E9EEF1 | 0.017 |
| Achromatopsia (no color) | #EDEDED | 0.020 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECECFB
#ECECFB
oklch(94.7% 0.02 286)
- #EFEFE0
#EFEFE0
oklch(94.8% 0.02 106.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #ECECFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender #E6E6FA ΔE 0.018
- Anti-Flash White #EDF2F4 ΔE 0.021
- Lavender Blush #FFF0F5 ΔE 0.030
- White Smoke #F5F5F5 ΔE 0.030
- Alice Blue #F0F8FF ΔE 0.031
- Ghost White #F8F8FF ΔE 0.035
- Linen #FAF0E6 ΔE 0.037
- Very Light Pink #FFF4F2 ΔE 0.038
Use #ECECFB in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.