#AFB3F2
Closest named color: Pastel Blue (#A2BFFE). oklch(78.6% 0.089 281.3), rgb(175, 179, 242).
Aa
Black text reads best on this color (10.55:1).
About this color
#AFB3F2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.089 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.033 away. Black text reads best on it, at 10.55:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.089) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.55:1 |
| White text | 1.98:1 |
Values
| HEX | #AFB3F2 |
| RGB | rgb(175, 179, 242) |
| HSL | hsl(236, 72%, 82%) |
| OKLCH | oklch(78.6% 0.089 281.3) |
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 #AFB3F2 | 1.98:1 | Fails | Lc -42.9 | Non-text elements, placeholder text |
| Black text on #AFB3F2 | 10.55:1 | AAA | Lc 65.5 | Content text, not long reading |
| #AFB3F2 text on white | 1.98:1 | Fails | Lc 38.5 | Non-text elements, placeholder text |
| #AFB3F2 text on black | 10.55:1 | AAA | Lc -63.9 | 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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E6E8FB
oklch(93.5% 0.026 281.1)
-
Step 200
200
#D3D6FA
oklch(88.5% 0.05 281.6)
-
Step 300
300 (this color)
#AFB3F2
oklch(78.6% 0.089 281.3)
-
Step 400
400
#9294F7
oklch(70.7% 0.143 281.2)
-
Step 500
500
#7A76F3
oklch(63.1% 0.182 281.3)
-
Step 600
600
#655AE2
oklch(55.5% 0.199 281.4)
-
Step 700
700
#5449C4
oklch(49% 0.185 281.2)
-
Step 800
800
#453D9F
oklch(42.7% 0.153 281.4)
-
Step 900
900
#39357E
oklch(37.6% 0.12 281.4)
-
Step 950
950
#21204A
oklch(27% 0.076 281.1)
#AFB3F2 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) | #A1BAF5 | 0.023 |
| Deuteranopia (no green cones) | #9EB6F0 | 0.023 |
| Tritanopia (no blue cones) | #9FBEC9 | 0.078 |
| Achromatopsia (no color) | #B8B8B8 | 0.090 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB3F2
#AFB3F2
oklch(78.6% 0.089 281.3)
- #C5BC77
#C5BC77
oklch(78.7% 0.09 101.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 #AFB3F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.033
- Carolina Blue #8AB8FE ΔE 0.046
- Pale Violet #CEAEFA ΔE 0.047
- Light Periwinkle #C1C6FC ΔE 0.057
- Light Violet #D6B4FC ΔE 0.058
- Light Steel Blue #B0C4DE ΔE 0.061
- Light Grey Blue #9DBCD4 ΔE 0.061
- Cloudy Blue #ACC2D9 ΔE 0.062
Use #AFB3F2 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.