#E7A2FB
Closest named color: Lilac (#CEA2FD). oklch(80.9% 0.142 318.5), rgb(231, 162, 251).
Aa
Black text reads best on this color (10.95:1).
About this color
#E7A2FB is a light, vivid purple. In OKLCH its lightness is 81%, its chroma 0.142 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.95:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | vivid (0.142) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.95:1 |
| White text | 1.91:1 |
Values
| HEX | #E7A2FB |
| RGB | rgb(231, 162, 251) |
| HSL | hsl(287, 92%, 81%) |
| OKLCH | oklch(80.9% 0.142 318.5) |
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 #E7A2FB | 1.91:1 | Fails | Lc -40.7 | Non-text elements, placeholder text |
| Black text on #E7A2FB | 10.95:1 | AAA | Lc 67.4 | Content text, not long reading |
| #E7A2FB text on white | 1.91:1 | Fails | Lc 36.5 | Non-text elements, placeholder text |
| #E7A2FB text on black | 10.95:1 | AAA | Lc -66.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
#F6E2FC
oklch(93.7% 0.041 318.4)
-
Step 200
200
#F0C9FB
oklch(88.5% 0.079 318.7)
-
Step 300
300 (this color)
#E7A2FB
oklch(80.9% 0.142 318.5)
-
Step 400
400
#D967F9
oklch(70.7% 0.226 318.3)
-
Step 500
500
#CD21F5
oklch(63% 0.289 318.4)
-
Step 600
600
#B000D4
oklch(55.6% 0.269 318.5)
-
Step 700
700
#9500B4
oklch(49.2% 0.238 318.4)
-
Step 800
800
#7B0095
oklch(42.8% 0.207 318.4)
-
Step 900
900
#67007D
oklch(37.7% 0.182 318.5)
-
Step 950
950
#3D074A
oklch(27% 0.119 318.6)
#E7A2FB 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) | #96B7FE | 0.119 |
| Deuteranopia (no green cones) | #A7BEF8 | 0.110 |
| Tritanopia (no blue cones) | #E8ADC3 | 0.093 |
| Achromatopsia (no color) | #BBBBBB | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7A2FB
#E7A2FB
oklch(80.9% 0.142 318.5)
- #91D67B
#91D67B
oklch(80.9% 0.141 138.4)
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 #E7A2FB, 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
- Plum #DDA0DD ΔE 0.046
- Pastel Purple #CAA0FF Δ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 #E7A2FB 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.