#B2B2EC
Closest named color: Pastel Blue (#A2BFFE). oklch(78.4% 0.082 284.3), rgb(178, 178, 236).
Aa
Black text reads best on this color (10.47:1).
About this color
#B2B2EC is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.082 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.039 away. Black text reads best on it, at 10.47:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.082) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 10.47:1 |
| White text | 2.00:1 |
Values
| HEX | #B2B2EC |
| RGB | rgb(178, 178, 236) |
| HSL | hsl(240, 60%, 81%) |
| OKLCH | oklch(78.4% 0.082 284.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 #B2B2EC | 2.00:1 | Fails | Lc -43.3 | Non-text elements, placeholder text |
| Black text on #B2B2EC | 10.47:1 | AAA | Lc 65.1 | Content text, not long reading |
| #B2B2EC text on white | 2.00:1 | Fails | Lc 38.8 | Non-text elements, placeholder text |
| #B2B2EC text on black | 10.47:1 | AAA | Lc -63.5 | 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
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E7E8FA
oklch(93.6% 0.024 283.4)
-
Step 200
200
#D5D6F7
oklch(88.6% 0.045 284.1)
-
Step 300
300 (this color)
#B2B2EC
oklch(78.4% 0.082 284.3)
-
Step 400
400
#9894EF
oklch(70.7% 0.131 284.5)
-
Step 500
500
#8077EA
oklch(63.2% 0.168 284)
-
Step 600
600
#6B5CD8
oklch(55.6% 0.183 284.2)
-
Step 700
700
#5A4BBB
oklch(49.1% 0.169 284.4)
-
Step 800
800
#493E97
oklch(42.6% 0.14 284.4)
-
Step 900
900
#3D3679
oklch(37.8% 0.11 284.5)
-
Step 950
950
#232047
oklch(27% 0.07 284.1)
#B2B2EC 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) | #A3B9EF | 0.025 |
| Deuteranopia (no green cones) | #A1B5EA | 0.024 |
| Tritanopia (no blue cones) | #A5BCC6 | 0.071 |
| Achromatopsia (no color) | #B7B7B7 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B2B2EC
#B2B2EC
oklch(78.4% 0.082 284.3)
- #C1BC7E
#C1BC7E
oklch(78.5% 0.082 104.2)
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 #B2B2EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.039
- Pale Violet #CEAEFA ΔE 0.047
- Carolina Blue #8AB8FE ΔE 0.053
- Light Grey Blue #9DBCD4 ΔE 0.057
- Light Periwinkle #C1C6FC ΔE 0.058
- Light Steel Blue #B0C4DE ΔE 0.058
- Light Violet #D6B4FC ΔE 0.058
- Cloudy Blue #ACC2D9 ΔE 0.058
Use #B2B2EC 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.