#AFAFEE
Closest named color: Pastel Blue (#A2BFFE). oklch(77.7% 0.089 284.1), rgb(175, 175, 238).
Aa
Black text reads best on this color (10.18:1).
About this color
#AFAFEE is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.089 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.043 away. Black text reads best on it, at 10.18:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.089) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.18:1 |
| White text | 2.06:1 |
Values
| HEX | #AFAFEE |
| RGB | rgb(175, 175, 238) |
| HSL | hsl(240, 65%, 81%) |
| OKLCH | oklch(77.7% 0.089 284.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 #AFAFEE | 2.06:1 | Fails | Lc -44.7 | Non-text elements, placeholder text |
| Black text on #AFAFEE | 10.18:1 | AAA | Lc 63.8 | Content text, not long reading |
| #AFAFEE text on white | 2.06:1 | Fails | Lc 40.2 | Non-text elements, placeholder text |
| #AFAFEE text on black | 10.18:1 | AAA | Lc -62.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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D4D5FA
oklch(88.4% 0.051 284.1)
-
Step 300
300 (this color)
#AFAFEE
oklch(77.7% 0.089 284.1)
-
Step 400
400
#9792F6
oklch(70.6% 0.144 284.4)
-
Step 500
500
#8074F2
oklch(63.2% 0.183 284.2)
-
Step 600
600
#6B58E1
oklch(55.6% 0.2 284.1)
-
Step 700
700
#5A47C3
oklch(49.1% 0.185 284.3)
-
Step 800
800
#493B9E
oklch(42.6% 0.154 284.2)
-
Step 900
900
#3C347D
oklch(37.6% 0.119 284)
-
Step 950
950
#231F49
oklch(26.9% 0.075 284.4)
#AFAFEE 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) | #9EB7F1 | 0.028 |
| Deuteranopia (no green cones) | #9CB3EC | 0.027 |
| Tritanopia (no blue cones) | #A0BAC5 | 0.078 |
| Achromatopsia (no color) | #B5B5B5 | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFAFEE
#AFAFEE
oklch(77.7% 0.089 284.1)
- #BFBA75
#BFBA75
oklch(77.7% 0.09 104.7)
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 #AFAFEE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.043
- Pale Violet #CEAEFA ΔE 0.048
- Carolina Blue #8AB8FE ΔE 0.050
- Lilac #CEA2FD ΔE 0.061
- Pastel Purple #CAA0FF ΔE 0.062
- Light Violet #D6B4FC ΔE 0.062
- Light Grey Blue #9DBCD4 ΔE 0.063
- Baby Purple #CA9BF7 ΔE 0.065
Use #AFAFEE 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.