#ECCAF7
Closest named color: Light Lilac (#EDC8FF). oklch(88.2% 0.071 317.8), rgb(236, 202, 247).
Aa
Black text reads best on this color (14.35:1).
About this color
#ECCAF7 is a light, moderately saturated purple. In OKLCH its lightness is 88%, its chroma 0.071 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Lilac (#EDC8FF), ΔE 0.014 away. Black text reads best on it, at 14.35:1.
| Hue family | Purples |
| Lightness | light (88%) |
| Chroma | moderately saturated (0.071) |
| Temperature | in between |
| Nearest name | Light Lilac (#EDC8FF) |
| Black text | 14.35:1 |
| White text | 1.46:1 |
Values
| HEX | #ECCAF7 |
| RGB | rgb(236, 202, 247) |
| HSL | hsl(285, 74%, 88%) |
| OKLCH | oklch(88.2% 0.071 317.8) |
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 #ECCAF7 | 1.46:1 | Fails | Lc -24.9 | Dividers and decoration only |
| Black text on #ECCAF7 | 14.35:1 | AAA | Lc 81.8 | Fine for body text |
| #ECCAF7 text on white | 1.46:1 | Fails | Lc 21.9 | Dividers and decoration only |
| #ECCAF7 text on black | 14.35:1 | AAA | Lc -81.4 | Fine 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 200.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F1E5F6
oklch(93.6% 0.026 316.1)
-
Step 200
200 (this color)
#ECCAF7
oklch(88.2% 0.071 317.8)
-
Step 300
300
#D9AEE7
oklch(80.8% 0.091 317.7)
-
Step 400
400
#C681DB
oklch(70.7% 0.146 318)
-
Step 500
500
#B65ED1
oklch(63.1% 0.185 317.7)
-
Step 600
600
#A23FBE
oklch(55.6% 0.202 318)
-
Step 700
700
#8A30A4
oklch(49.1% 0.188 317.6)
-
Step 800
800
#702985
oklch(42.6% 0.156 317.6)
-
Step 900
900
#5B276A
oklch(37.6% 0.121 318.1)
-
Step 950
950
#35183E
oklch(26.9% 0.076 317.6)
#ECCAF7 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) | #C5D3F9 | 0.055 |
| Deuteranopia (no green cones) | #CCD7F5 | 0.053 |
| Tritanopia (no blue cones) | #ECCFD9 | 0.048 |
| Achromatopsia (no color) | #D5D5D5 | 0.071 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECCAF7
#ECCAF7
oklch(88.2% 0.071 317.8)
- #C2E4B6
#C2E4B6
oklch(88.2% 0.072 137.6)
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 #ECCAF7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Lilac #EDC8FF ΔE 0.014
- Pale Lavender #EECFFE ΔE 0.014
- Pale Lilac #E4CBFF ΔE 0.015
- Very Light Purple #F6CEFC ΔE 0.019
- Light Lavender #DFC5FE ΔE 0.027
- Light Lavendar #EFC0FE ΔE 0.030
- Pale Mauve #FED0FC ΔE 0.032
- Pale Pink #FFCFDC ΔE 0.051
Use #ECCAF7 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.