#E2AFE7
Closest named color: Light Violet (#D6B4FC). oklch(81.8% 0.095 323.4), rgb(226, 175, 231).
Aa
Black text reads best on this color (11.51:1).
About this color
#E2AFE7 is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.095 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.033 away. Black text reads best on it, at 11.51:1.
| Hue family | Purples |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.095) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.51:1 |
| White text | 1.82:1 |
Values
| HEX | #E2AFE7 |
| RGB | rgb(226, 175, 231) |
| HSL | hsl(295, 54%, 80%) |
| OKLCH | oklch(81.8% 0.095 323.4) |
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 #E2AFE7 | 1.82:1 | Fails | Lc -38.1 | Non-text elements, placeholder text |
| Black text on #E2AFE7 | 11.51:1 | AAA | Lc 69.9 | Content text, not long reading |
| #E2AFE7 text on white | 1.82:1 | Fails | Lc 34.0 | Non-text elements, placeholder text |
| #E2AFE7 text on black | 11.51:1 | AAA | Lc -68.6 | 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
#FAF3FA
oklch(97.2% 0.012 325.7)
-
Step 100
100
#F3E4F5
oklch(93.6% 0.028 322.2)
-
Step 200
200
#EBCEED
oklch(88.5% 0.052 324)
-
Step 300
300 (this color)
#E2AFE7
oklch(81.8% 0.095 323.4)
-
Step 400
400
#CD7DD6
oklch(70.6% 0.152 323.3)
-
Step 500
500
#BF58CB
oklch(63.1% 0.193 323.4)
-
Step 600
600
#AA37B8
oklch(55.6% 0.211 323.2)
-
Step 700
700
#92279E
oklch(49% 0.196 323.5)
-
Step 800
800
#772380
oklch(42.7% 0.163 323.7)
-
Step 900
900
#602467
oklch(37.8% 0.126 323.4)
-
Step 950
950
#38163C
oklch(26.9% 0.079 323.3)
#E2AFE7 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) | #AABCE9 | 0.082 |
| Deuteranopia (no green cones) | #B6C2E5 | 0.076 |
| Tritanopia (no blue cones) | #E4B4C3 | 0.057 |
| Achromatopsia (no color) | #C0C0C0 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E2AFE7
#E2AFE7
oklch(81.8% 0.095 323.4)
- #9FD49C
#9FD49C
oklch(81.9% 0.095 143.3)
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 #E2AFE7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.033
- Plum #DDA0DD ΔE 0.038
- Pale Violet #CEAEFA ΔE 0.041
- Light Lavendar #EFC0FE ΔE 0.052
- Thistle #D8BFD8 ΔE 0.053
- Light Lavender #DFC5FE ΔE 0.055
- Powder Pink #FFB2D0 ΔE 0.058
- Lilac #CEA2FD ΔE 0.061
Use #E2AFE7 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.