#E4AFF2
Closest named color: Light Violet (#D6B4FC). oklch(82.4% 0.108 319.1), rgb(228, 175, 242).
Aa
Black text reads best on this color (11.71:1).
About this color
#E4AFF2 is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.108 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.025 away. Black text reads best on it, at 11.71:1.
| Hue family | Purples |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.71:1 |
| White text | 1.79:1 |
Values
| HEX | #E4AFF2 |
| RGB | rgb(228, 175, 242) |
| HSL | hsl(287, 72%, 82%) |
| OKLCH | oklch(82.4% 0.108 319.1) |
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 #E4AFF2 | 1.79:1 | Fails | Lc -37.2 | Non-text elements, placeholder text |
| Black text on #E4AFF2 | 11.71:1 | AAA | Lc 70.7 | Content text, not long reading |
| #E4AFF2 text on white | 1.79:1 | Fails | Lc 33.1 | Non-text elements, placeholder text |
| #E4AFF2 text on black | 11.71:1 | AAA | Lc -69.5 | Content text, not long reading |
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 300.
-
Step 50
50
#FAF3FC
oklch(97.2% 0.014 318.7)
-
Step 100
100
#F3E4F7
oklch(93.6% 0.03 319.1)
-
Step 200
200
#EBCDF3
oklch(88.5% 0.061 319.1)
-
Step 300
300 (this color)
#E4AFF2
oklch(82.4% 0.108 319.1)
-
Step 400
400
#CE79E4
oklch(70.7% 0.173 319.1)
-
Step 500
500
#C04FDB
oklch(63.1% 0.221 319.4)
-
Step 600
600
#AB28C9
oklch(55.6% 0.24 319)
-
Step 700
700
#9316AE
oklch(49.2% 0.224 319.1)
-
Step 800
800
#77198D
oklch(42.7% 0.185 318.9)
-
Step 900
900
#601E70
oklch(37.6% 0.143 319.1)
-
Step 950
950
#391342
oklch(27% 0.092 319.5)
#E4AFF2 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) | #A7BEF5 | 0.089 |
| Deuteranopia (no green cones) | #B3C3F0 | 0.082 |
| Tritanopia (no blue cones) | #E5B6C7 | 0.069 |
| Achromatopsia (no color) | #C1C1C1 | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E4AFF2
#E4AFF2
oklch(82.4% 0.108 319.1)
- #A1D793
#A1D793
oklch(82.5% 0.108 139.3)
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 #E4AFF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.025
- Pale Violet #CEAEFA ΔE 0.035
- Plum #DDA0DD ΔE 0.043
- Light Lavendar #EFC0FE ΔE 0.046
- Light Lavender #DFC5FE ΔE 0.052
- Lilac #CEA2FD ΔE 0.054
- Light Lilac #EDC8FF ΔE 0.063
- Pastel Purple #CAA0FF ΔE 0.063
Use #E4AFF2 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.