#AFB2EE
Closest named color: Pastel Blue (#A2BFFE). oklch(78.3% 0.085 282), rgb(175, 178, 238).
Aa
Black text reads best on this color (10.42:1).
About this color
#AFB2EE is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.085 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.037 away. Black text reads best on it, at 10.42:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.085) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.42:1 |
| White text | 2.01:1 |
Values
| HEX | #AFB2EE |
| RGB | rgb(175, 178, 238) |
| HSL | hsl(237, 65%, 81%) |
| OKLCH | oklch(78.3% 0.085 282) |
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 #AFB2EE | 2.01:1 | Fails | Lc -43.5 | Non-text elements, placeholder text |
| Black text on #AFB2EE | 10.42:1 | AAA | Lc 64.9 | Content text, not long reading |
| #AFB2EE text on white | 2.01:1 | Fails | Lc 39.1 | Non-text elements, placeholder text |
| #AFB2EE text on black | 10.42:1 | AAA | Lc -63.3 | 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
#E7E8FA
oklch(93.6% 0.024 283.4)
-
Step 200
200
#D3D6F8
oklch(88.5% 0.047 281.4)
-
Step 300
300 (this color)
#AFB2EE
oklch(78.3% 0.085 282)
-
Step 400
400
#9494F3
oklch(70.6% 0.137 282.3)
-
Step 500
500
#7C77EE
oklch(63.1% 0.174 282.1)
-
Step 600
600
#675CDD
oklch(55.6% 0.19 282.1)
-
Step 700
700
#564BC0
oklch(49.2% 0.176 282)
-
Step 800
800
#463E9B
oklch(42.7% 0.146 282.1)
-
Step 900
900
#3A367B
oklch(37.7% 0.114 282.1)
-
Step 950
950
#222048
oklch(26.9% 0.072 282.7)
#AFB2EE 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) | #A1B9F1 | 0.024 |
| Deuteranopia (no green cones) | #9FB5EC | 0.022 |
| Tritanopia (no blue cones) | #A0BDC7 | 0.075 |
| Achromatopsia (no color) | #B7B7B7 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB2EE
#AFB2EE
oklch(78.3% 0.085 282)
- #C3BB7A
#C3BB7A
oklch(78.4% 0.085 102.1)
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 #AFB2EE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.037
- Carolina Blue #8AB8FE ΔE 0.048
- Pale Violet #CEAEFA ΔE 0.049
- Light Grey Blue #9DBCD4 ΔE 0.058
- Light Periwinkle #C1C6FC ΔE 0.059
- Light Steel Blue #B0C4DE ΔE 0.060
- Cloudy Blue #ACC2D9 ΔE 0.060
- Light Violet #D6B4FC ΔE 0.060
Use #AFB2EE 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.