#B7BAFF
Closest named color: Pastel Blue (#A2BFFE). oklch(81.1% 0.097 282.1), rgb(183, 186, 255).
Aa
Black text reads best on this color (11.48:1).
About this color
#B7BAFF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.097 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.029 away. Black text reads best on it, at 11.48:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.097) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 11.48:1 |
| White text | 1.82:1 |
Values
| HEX | #B7BAFF |
| RGB | rgb(183, 186, 255) |
| HSL | hsl(238, 100%, 86%) |
| OKLCH | oklch(81.1% 0.097 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 #B7BAFF | 1.82:1 | Fails | Lc -38.3 | Non-text elements, placeholder text |
| Black text on #B7BAFF | 11.48:1 | AAA | Lc 69.7 | Content text, not long reading |
| #B7BAFF text on white | 1.82:1 | Fails | Lc 34.2 | Non-text elements, placeholder text |
| #B7BAFF text on black | 11.48:1 | AAA | Lc -68.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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E6E8FD
oklch(93.6% 0.028 281.5)
-
Step 200
200
#D3D6FD
oklch(88.6% 0.054 281.8)
-
Step 300
300 (this color)
#B7BAFF
oklch(81.1% 0.097 282.1)
-
Step 400
400
#9392FE
oklch(70.8% 0.155 282.1)
-
Step 500
500
#7B72FC
oklch(63.1% 0.199 282)
-
Step 600
600
#6755EB
oklch(55.6% 0.216 282.2)
-
Step 700
700
#5644CC
oklch(49% 0.2 282.1)
-
Step 800
800
#4639A5
oklch(42.6% 0.166 282.2)
-
Step 900
900
#3A3383
oklch(37.7% 0.13 282.2)
-
Step 950
950
#211F4D
oklch(27% 0.082 281.3)
#B7BAFF 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) | #A7C2FF | 0.027 |
| Deuteranopia (no green cones) | #A3BDFD | 0.027 |
| Tritanopia (no blue cones) | #A5C6D2 | 0.085 |
| Achromatopsia (no color) | #C0C0C0 | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B7BAFF
#B7BAFF
oklch(81.1% 0.097 282.1)
- #CEC479
#CEC479
oklch(81.2% 0.097 101.7)
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 #B7BAFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.029
- Light Periwinkle #C1C6FC ΔE 0.037
- Pale Violet #CEAEFA ΔE 0.041
- Light Violet #D6B4FC ΔE 0.044
- Carolina Blue #8AB8FE ΔE 0.057
- Baby Blue #A2CFFE ΔE 0.059
- Light Steel Blue #B0C4DE ΔE 0.062
- Lilac #CEA2FD ΔE 0.065
Use #B7BAFF 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.