#E7AFF2
Closest named color: Light Violet (#D6B4FC). oklch(82.7% 0.109 320.8), rgb(231, 175, 242).
Aa
Black text reads best on this color (11.81:1).
About this color
#E7AFF2 is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.109 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.029 away. Black text reads best on it, at 11.81:1.
| Hue family | Purples |
| Lightness | light (83%) |
| Chroma | moderately saturated (0.109) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.81:1 |
| White text | 1.77:1 |
Values
| HEX | #E7AFF2 |
| RGB | rgb(231, 175, 242) |
| HSL | hsl(290, 72%, 82%) |
| OKLCH | oklch(82.7% 0.109 320.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 #E7AFF2 | 1.77:1 | Fails | Lc -36.7 | Non-text elements, placeholder text |
| Black text on #E7AFF2 | 11.81:1 | AAA | Lc 71.2 | Content text, not long reading |
| #E7AFF2 text on white | 1.77:1 | Fails | Lc 32.7 | Non-text elements, placeholder text |
| #E7AFF2 text on black | 11.81:1 | AAA | Lc -70.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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F7
oklch(93.5% 0.032 321.1)
-
Step 200
200
#ECCDF2
oklch(88.6% 0.06 320.8)
-
Step 300
300 (this color)
#E7AFF2
oklch(82.7% 0.109 320.8)
-
Step 400
400
#D077E2
oklch(70.6% 0.175 320.7)
-
Step 500
500
#C34DDA
oklch(63.2% 0.224 320.7)
-
Step 600
600
#AE23C7
oklch(55.6% 0.243 320.7)
-
Step 700
700
#950FAC
oklch(49% 0.226 320.6)
-
Step 800
800
#79158B
oklch(42.6% 0.187 320.7)
-
Step 900
900
#621C6F
oklch(37.7% 0.146 320.9)
-
Step 950
950
#3A1341
oklch(27.1% 0.092 321.3)
#E7AFF2 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) | #A8BEF5 | 0.092 |
| Deuteranopia (no green cones) | #B5C4F0 | 0.085 |
| Tritanopia (no blue cones) | #E9B6C7 | 0.069 |
| Achromatopsia (no color) | #C2C2C2 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7AFF2
#E7AFF2
oklch(82.7% 0.109 320.8)
- #9FD895
#9FD895
oklch(82.6% 0.109 140.8)
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 #E7AFF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.029
- Pale Violet #CEAEFA ΔE 0.040
- Light Lavendar #EFC0FE ΔE 0.044
- Plum #DDA0DD ΔE 0.045
- Light Lavender #DFC5FE ΔE 0.052
- Lilac #CEA2FD ΔE 0.058
- Light Lilac #EDC8FF ΔE 0.061
- Powder Pink #FFB2D0 ΔE 0.063
Use #E7AFF2 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.