#E7A2FC
Closest named color: Lilac (#CEA2FD). oklch(80.9% 0.143 318.1), rgb(231, 162, 252).
Aa
Black text reads best on this color (10.97:1).
About this color
#E7A2FC is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.143 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.97:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.97:1 |
| White text | 1.91:1 |
Values
| HEX | #E7A2FC |
| RGB | rgb(231, 162, 252) |
| HSL | hsl(286, 94%, 81%) |
| OKLCH | oklch(80.9% 0.143 318.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 #E7A2FC | 1.91:1 | Fails | Lc -40.7 | Non-text elements, placeholder text |
| Black text on #E7A2FC | 10.97:1 | AAA | Lc 67.5 | Content text, not long reading |
| #E7A2FC text on white | 1.91:1 | Fails | Lc 36.4 | Non-text elements, placeholder text |
| #E7A2FC text on black | 10.97: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)
#E7A2FC
oklch(80.9% 0.143 318.1)
-
Step 400
400
#D966FA
oklch(70.6% 0.229 318.1)
-
Step 500
500
#CD1FF7
oklch(63.1% 0.292 318)
-
Step 600
600
#B000D5
oklch(55.7% 0.27 318.2)
-
Step 700
700
#9400B4
oklch(49% 0.238 318.1)
-
Step 800
800
#7A0095
oklch(42.6% 0.207 318)
-
Step 900
900
#67007E
oklch(37.8% 0.183 318.1)
-
Step 950
950
#3D064B
oklch(27% 0.121 318)
#E7A2FC 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) | #A6BEF9 | 0.111 |
| Tritanopia (no blue cones) | #E7ADC4 | 0.093 |
| Achromatopsia (no color) | #BBBBBB | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7A2FC
#E7A2FC
oklch(80.9% 0.143 318.1)
- #91D67A
#91D67A
oklch(80.9% 0.142 138.2)
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 #E7A2FC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.039
- Pale Violet #CEAEFA ΔE 0.046
- Pastel Purple #CAA0FF ΔE 0.046
- Plum #DDA0DD ΔE 0.047
- Light Violet #D6B4FC ΔE 0.048
- Baby Purple #CA9BF7 ΔE 0.051
- Violet #EE82EE ΔE 0.069
- Light Lavendar #EFC0FE ΔE 0.075
Use #E7A2FC 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.