#E7A2FD
Closest named color: Lilac (#CEA2FD). oklch(81% 0.144 317.8), rgb(231, 162, 253).
Aa
Black text reads best on this color (10.98:1).
About this color
#E7A2FD is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.144 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.039 away. Black text reads best on it, at 10.98:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.98:1 |
| White text | 1.91:1 |
Values
| HEX | #E7A2FD |
| RGB | rgb(231, 162, 253) |
| HSL | hsl(285, 96%, 81%) |
| OKLCH | oklch(81% 0.144 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 #E7A2FD | 1.91:1 | Fails | Lc -40.6 | Non-text elements, placeholder text |
| Black text on #E7A2FD | 10.98:1 | AAA | Lc 67.6 | Content text, not long reading |
| #E7A2FD text on white | 1.91:1 | Fails | Lc 36.3 | Non-text elements, placeholder text |
| #E7A2FD text on black | 10.98:1 | AAA | Lc -66.1 | 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
#F6E2FC
oklch(93.7% 0.041 318.4)
-
Step 200
200
#F0C9FC
oklch(88.5% 0.08 318.2)
-
Step 300
300 (this color)
#E7A2FD
oklch(81% 0.144 317.8)
-
Step 400
400
#D966FB
oklch(70.7% 0.23 317.8)
-
Step 500
500
#CD1DF8
oklch(63.1% 0.294 317.8)
-
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
#66007E
oklch(37.6% 0.183 317.6)
-
Step 950
950
#3D064C
oklch(27.1% 0.122 317.4)
#E7A2FD 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) | #95B7FF | 0.121 |
| Deuteranopia (no green cones) | #A6BEFA | 0.111 |
| Tritanopia (no blue cones) | #E7ADC4 | 0.094 |
| Achromatopsia (no color) | #BBBBBB | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7A2FD
#E7A2FD
oklch(81% 0.144 317.8)
- #92D678
#92D678
oklch(80.9% 0.143 137.5)
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 #E7A2FD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.039
- Pastel Purple #CAA0FF ΔE 0.046
- Pale Violet #CEAEFA ΔE 0.046
- Plum #DDA0DD ΔE 0.048
- Light Violet #D6B4FC ΔE 0.049
- Baby Purple #CA9BF7 ΔE 0.051
- Violet #EE82EE ΔE 0.069
- Light Lavendar #EFC0FE ΔE 0.075
Use #E7A2FD 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.