#AFAEF2
Closest named color: Pastel Blue (#A2BFFE). oklch(77.6% 0.096 284.6), rgb(175, 174, 242).
Aa
Black text reads best on this color (10.15:1).
About this color
#AFAEF2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.096 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.044 away. Black text reads best on it, at 10.15:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.096) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.15:1 |
| White text | 2.06:1 |
Values
| HEX | #AFAEF2 |
| RGB | rgb(175, 174, 242) |
| HSL | hsl(241, 72%, 82%) |
| OKLCH | oklch(77.6% 0.096 284.6) |
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 #AFAEF2 | 2.06:1 | Fails | Lc -44.9 | Non-text elements, placeholder text |
| Black text on #AFAEF2 | 10.15:1 | AAA | Lc 63.6 | Content text, not long reading |
| #AFAEF2 text on white | 2.06:1 | Fails | Lc 40.3 | Non-text elements, placeholder text |
| #AFAEF2 text on black | 10.15:1 | AAA | Lc -62.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
#F4F4FE
oklch(97% 0.013 286.1)
-
Step 100
100
#E7E8FC
oklch(93.6% 0.027 283.6)
-
Step 200
200
#D4D5FC
oklch(88.5% 0.053 284.1)
-
Step 300
300 (this color)
#AFAEF2
oklch(77.6% 0.096 284.6)
-
Step 400
400
#9790FC
oklch(70.6% 0.155 284.6)
-
Step 500
500
#8170FA
oklch(63.1% 0.198 284.8)
-
Step 600
600
#6C54E9
oklch(55.7% 0.214 284.4)
-
Step 700
700
#5B43CA
oklch(49.1% 0.198 284.5)
-
Step 800
800
#4A38A3
oklch(42.7% 0.164 284.7)
-
Step 900
900
#3D3282
oklch(37.7% 0.129 284.6)
-
Step 950
950
#231E4C
oklch(26.9% 0.082 284.4)
#AFAEF2 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) | #9BB6F5 | 0.031 |
| Deuteranopia (no green cones) | #99B2F0 | 0.030 |
| Tritanopia (no blue cones) | #9FBAC6 | 0.084 |
| Achromatopsia (no color) | #B4B4B4 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAEF2
#AFAEF2
oklch(77.6% 0.096 284.6)
- #C0BA6F
#C0BA6F
oklch(77.7% 0.097 104.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 #AFAEF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.044
- Pale Violet #CEAEFA ΔE 0.046
- Carolina Blue #8AB8FE ΔE 0.049
- Lilac #CEA2FD ΔE 0.057
- Pastel Purple #CAA0FF ΔE 0.057
- Baby Purple #CA9BF7 ΔE 0.061
- Light Violet #D6B4FC ΔE 0.061
- Light Periwinkle #C1C6FC ΔE 0.068
Use #AFAEF2 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.