#E2A2F7
Closest named color: Lilac (#CEA2FD). oklch(80.2% 0.135 317.6), rgb(226, 162, 247).
Aa
Black text reads best on this color (10.74:1).
About this color
#E2A2F7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.135 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.032 away. Black text reads best on it, at 10.74:1.
| Hue family | Purples |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.74:1 |
| White text | 1.95:1 |
Values
| HEX | #E2A2F7 |
| RGB | rgb(226, 162, 247) |
| HSL | hsl(285, 84%, 80%) |
| OKLCH | oklch(80.2% 0.135 317.6) |
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 #E2A2F7 | 1.95:1 | Fails | Lc -41.8 | Non-text elements, placeholder text |
| Black text on #E2A2F7 | 10.74:1 | AAA | Lc 66.4 | Content text, not long reading |
| #E2A2F7 text on white | 1.95:1 | Fails | Lc 37.5 | Non-text elements, placeholder text |
| #E2A2F7 text on black | 10.74:1 | AAA | Lc -65.0 | 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
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F5E2FB
oklch(93.5% 0.039 318.1)
-
Step 200
200
#EECAFA
oklch(88.5% 0.075 317.6)
-
Step 300
300 (this color)
#E2A2F7
oklch(80.2% 0.135 317.6)
-
Step 400
400
#D56CF6
oklch(70.7% 0.215 317.4)
-
Step 500
500
#C931F2
oklch(63.1% 0.275 317.6)
-
Step 600
600
#AF00D6
oklch(55.6% 0.27 317.7)
-
Step 700
700
#9400B5
oklch(49.1% 0.238 317.8)
-
Step 800
800
#7A0096
oklch(42.7% 0.207 317.7)
-
Step 900
900
#66047D
oklch(37.7% 0.18 317.9)
-
Step 950
950
#3C0A49
oklch(27% 0.114 318.1)
#E2A2F7 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) | #96B5FA | 0.112 |
| Deuteranopia (no green cones) | #A5BCF4 | 0.104 |
| Tritanopia (no blue cones) | #E2ACC1 | 0.089 |
| Achromatopsia (no color) | #B9B9B9 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E2A2F7
#E2A2F7
oklch(80.2% 0.135 317.6)
- #93D37B
#93D37B
oklch(80.3% 0.135 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 #E2A2F7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.032
- Plum #DDA0DD ΔE 0.038
- Pale Violet #CEAEFA ΔE 0.039
- Pastel Purple #CAA0FF ΔE 0.040
- Baby Purple #CA9BF7 ΔE 0.043
- Light Violet #D6B4FC ΔE 0.044
- Violet #EE82EE ΔE 0.070
- Lavender Pink #DD85D7 ΔE 0.073
Use #E2A2F7 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.