#BABAFB
Closest named color: Pastel Blue (#A2BFFE). oklch(81.2% 0.091 284.2), rgb(186, 186, 251).
Aa
Black text reads best on this color (11.50:1).
About this color
#BABAFB is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.091 and its hue 284°. 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 11.50:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.091) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 11.50:1 |
| White text | 1.82:1 |
Values
| HEX | #BABAFB |
| RGB | rgb(186, 186, 251) |
| HSL | hsl(240, 89%, 86%) |
| OKLCH | oklch(81.2% 0.091 284.2) |
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 #BABAFB | 1.82:1 | Fails | Lc -38.2 | Non-text elements, placeholder text |
| Black text on #BABAFB | 11.50:1 | AAA | Lc 69.8 | Content text, not long reading |
| #BABAFB text on white | 1.82:1 | Fails | Lc 34.1 | Non-text elements, placeholder text |
| #BABAFB text on black | 11.50:1 | AAA | Lc -68.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
#F4F5FE
oklch(97.2% 0.012 281.1)
-
Step 100
100
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D4D5FA
oklch(88.4% 0.051 284.1)
-
Step 300
300 (this color)
#BABAFB
oklch(81.2% 0.091 284.2)
-
Step 400
400
#9792F7
oklch(70.7% 0.145 284.3)
-
Step 500
500
#8073F4
oklch(63.1% 0.186 284.3)
-
Step 600
600
#6B57E3
oklch(55.6% 0.203 284.1)
-
Step 700
700
#5A46C5
oklch(49.1% 0.189 284.2)
-
Step 800
800
#493B9F
oklch(42.7% 0.155 284)
-
Step 900
900
#3C347E
oklch(37.7% 0.121 283.9)
-
Step 950
950
#231F4A
oklch(27% 0.077 284.2)
#BABAFB 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) | #A8C2FE | 0.029 |
| Deuteranopia (no green cones) | #A6BEF9 | 0.028 |
| Tritanopia (no blue cones) | #ABC5D1 | 0.078 |
| Achromatopsia (no color) | #C0C0C0 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BABAFB
#BABAFB
oklch(81.2% 0.091 284.2)
- #CBC57F
#CBC57F
oklch(81.2% 0.091 104)
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 #BABAFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.031
- Light Periwinkle #C1C6FC ΔE 0.033
- Pale Violet #CEAEFA ΔE 0.039
- Light Violet #D6B4FC ΔE 0.041
- Light Steel Blue #B0C4DE ΔE 0.058
- Baby Blue #A2CFFE ΔE 0.058
- Carolina Blue #8AB8FE ΔE 0.061
- Light Blue Grey #B7C9E2 ΔE 0.061
Use #BABAFB 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.