#B3AFEB
Closest named color: Pastel Blue (#A2BFFE). oklch(77.9% 0.085 287.3), rgb(179, 175, 235).
Aa
Black text reads best on this color (10.24:1).
About this color
#B3AFEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.085 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.045 away. Black text reads best on it, at 10.24:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | moderately saturated (0.085) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.24:1 |
| White text | 2.04:1 |
Values
| HEX | #B3AFEB |
| RGB | rgb(179, 175, 235) |
| HSL | hsl(244, 60%, 80%) |
| OKLCH | oklch(77.9% 0.085 287.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 #B3AFEB | 2.04:1 | Fails | Lc -44.4 | Non-text elements, placeholder text |
| Black text on #B3AFEB | 10.24:1 | AAA | Lc 64.0 | Content text, not long reading |
| #B3AFEB text on white | 2.04:1 | Fails | Lc 39.9 | Non-text elements, placeholder text |
| #B3AFEB text on black | 10.24:1 | AAA | Lc -62.4 | 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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E8E8FA
oklch(93.6% 0.024 285.9)
-
Step 200
200
#D6D5F7
oklch(88.4% 0.047 286.8)
-
Step 300
300 (this color)
#B3AFEB
oklch(77.9% 0.085 287.3)
-
Step 400
400
#9C92F0
oklch(70.7% 0.135 287.3)
-
Step 500
500
#8674EB
oklch(63.2% 0.173 287.3)
-
Step 600
600
#7159D9
oklch(55.6% 0.188 287.3)
-
Step 700
700
#5F48BD
oklch(49.2% 0.175 287.1)
-
Step 800
800
#4D3C99
oklch(42.8% 0.145 286.9)
-
Step 900
900
#403479
oklch(37.7% 0.113 287.7)
-
Step 950
950
#251F47
oklch(26.9% 0.072 287.4)
#B3AFEB 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) | #A0B7EE | 0.030 |
| Deuteranopia (no green cones) | #9FB4E9 | 0.029 |
| Tritanopia (no blue cones) | #A7B9C4 | 0.073 |
| Achromatopsia (no color) | #B5B5B5 | 0.085 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B3AFEB
#B3AFEB
oklch(77.9% 0.085 287.3)
- #BCBB7B
#BCBB7B
oklch(77.8% 0.084 107.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 #B3AFEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.045
- Pale Violet #CEAEFA ΔE 0.046
- Carolina Blue #8AB8FE ΔE 0.056
- Light Violet #D6B4FC ΔE 0.058
- Lilac #CEA2FD ΔE 0.060
- Pastel Purple #CAA0FF ΔE 0.062
- Light Grey Blue #9DBCD4 ΔE 0.062
- Light Periwinkle #C1C6FC ΔE 0.064
Use #B3AFEB 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.