#AFB4F2
Closest named color: Pastel Blue (#A2BFFE). oklch(78.8% 0.088 280.6), rgb(175, 180, 242).
Aa
Black text reads best on this color (10.63:1).
About this color
#AFB4F2 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.088 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.031 away. Black text reads best on it, at 10.63:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.088) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.63:1 |
| White text | 1.97:1 |
Values
| HEX | #AFB4F2 |
| RGB | rgb(175, 180, 242) |
| HSL | hsl(236, 72%, 82%) |
| OKLCH | oklch(78.8% 0.088 280.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 #AFB4F2 | 1.97:1 | Fails | Lc -42.5 | Non-text elements, placeholder text |
| Black text on #AFB4F2 | 10.63:1 | AAA | Lc 65.8 | Content text, not long reading |
| #AFB4F2 text on white | 1.97:1 | Fails | Lc 38.1 | Non-text elements, placeholder text |
| #AFB4F2 text on black | 10.63:1 | AAA | Lc -64.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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E6E8FB
oklch(93.5% 0.026 281.1)
-
Step 200
200
#D2D6FA
oklch(88.4% 0.05 280.3)
-
Step 300
300 (this color)
#AFB4F2
oklch(78.8% 0.088 280.6)
-
Step 400
400
#9195F6
oklch(70.8% 0.14 280.4)
-
Step 500
500
#7977F2
oklch(63.2% 0.179 280.7)
-
Step 600
600
#645CE1
oklch(55.7% 0.196 280.6)
-
Step 700
700
#534AC3
oklch(49% 0.182 280.6)
-
Step 800
800
#443E9E
oklch(42.8% 0.151 280.7)
-
Step 900
900
#38367D
oklch(37.6% 0.117 280.4)
-
Step 950
950
#212049
oklch(26.9% 0.074 281.3)
#AFB4F2 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) | #A3BBF5 | 0.022 |
| Deuteranopia (no green cones) | #9FB6F0 | 0.021 |
| Tritanopia (no blue cones) | #9FBFCA | 0.077 |
| Achromatopsia (no color) | #B8B8B8 | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFB4F2
#AFB4F2
oklch(78.8% 0.088 280.6)
- #C6BC79
#C6BC79
oklch(78.8% 0.088 100.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 #AFB4F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.031
- Carolina Blue #8AB8FE ΔE 0.046
- Pale Violet #CEAEFA ΔE 0.048
- Light Periwinkle #C1C6FC ΔE 0.054
- Light Violet #D6B4FC ΔE 0.058
- Light Steel Blue #B0C4DE ΔE 0.059
- Light Grey Blue #9DBCD4 ΔE 0.060
- Cloudy Blue #ACC2D9 ΔE 0.060
Use #AFB4F2 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.