#B7BAFB
Closest named color: Pastel Blue (#A2BFFE). oklch(81% 0.092 282.1), rgb(183, 186, 251).
Aa
Black text reads best on this color (11.43:1).
About this color
#B7BAFB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.092 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.028 away. Black text reads best on it, at 11.43:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.092) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 11.43:1 |
| White text | 1.83:1 |
Values
| HEX | #B7BAFB |
| RGB | rgb(183, 186, 251) |
| HSL | hsl(237, 89%, 85%) |
| OKLCH | oklch(81% 0.092 282.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 #B7BAFB | 1.83:1 | Fails | Lc -38.6 | Non-text elements, placeholder text |
| Black text on #B7BAFB | 11.43:1 | AAA | Lc 69.4 | Content text, not long reading |
| #B7BAFB text on white | 1.83:1 | Fails | Lc 34.4 | Non-text elements, placeholder text |
| #B7BAFB text on black | 11.43:1 | AAA | Lc -68.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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E7E8FC
oklch(93.6% 0.027 283.6)
-
Step 200
200
#D3D6FB
oklch(88.6% 0.051 281.6)
-
Step 300
300 (this color)
#B7BAFB
oklch(81% 0.092 282.1)
-
Step 400
400
#9393F9
oklch(70.7% 0.147 282)
-
Step 500
500
#7B74F5
oklch(63% 0.187 282)
-
Step 600
600
#6759E4
oklch(55.7% 0.203 282.1)
-
Step 700
700
#5647C6
oklch(49% 0.189 282.2)
-
Step 800
800
#463CA0
oklch(42.7% 0.156 282.1)
-
Step 900
900
#3A357F
oklch(37.8% 0.121 282)
-
Step 950
950
#22204B
oklch(27.2% 0.077 282)
#B7BAFB 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) | #A8C1FE | 0.024 |
| Deuteranopia (no green cones) | #A5BDF9 | 0.024 |
| Tritanopia (no blue cones) | #A7C6D1 | 0.080 |
| Achromatopsia (no color) | #BFBFBF | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B7BAFB
#B7BAFB
oklch(81% 0.092 282.1)
- #CCC37D
#CCC37D
oklch(80.9% 0.091 101.9)
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 #B7BAFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.028
- Light Periwinkle #C1C6FC ΔE 0.035
- Pale Violet #CEAEFA ΔE 0.042
- Light Violet #D6B4FC ΔE 0.045
- Carolina Blue #8AB8FE ΔE 0.057
- Light Steel Blue #B0C4DE ΔE 0.057
- Baby Blue #A2CFFE ΔE 0.057
- Light Blue Grey #B7C9E2 ΔE 0.061
Use #B7BAFB 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.