#BAB9FF
Closest named color: Pastel Blue (#A2BFFE). oklch(81.2% 0.098 284.6), rgb(186, 185, 255).
Aa
Black text reads best on this color (11.47:1).
About this color
#BAB9FF is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.098 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.033 away. Black text reads best on it, at 11.47:1.
| Hue family | Purples |
| Lightness | light (81%) |
| Chroma | moderately saturated (0.098) |
| Temperature | cool |
| Nearest name | Pastel Blue (#A2BFFE) |
| Black text | 11.47:1 |
| White text | 1.83:1 |
Values
| HEX | #BAB9FF |
| RGB | rgb(186, 185, 255) |
| HSL | hsl(241, 100%, 86%) |
| OKLCH | oklch(81.2% 0.098 284.6) |
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 #BAB9FF | 1.83:1 | Fails | Lc -38.4 | Non-text elements, placeholder text |
| Black text on #BAB9FF | 11.47:1 | AAA | Lc 69.6 | Content text, not long reading |
| #BAB9FF text on white | 1.83:1 | Fails | Lc 34.2 | Non-text elements, placeholder text |
| #BAB9FF text on black | 11.47:1 | AAA | Lc -68.3 | 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
#F4F4FE
oklch(97% 0.013 286.1)
-
Step 100
100
#E7E8FD
oklch(93.7% 0.028 283.7)
-
Step 200
200
#D4D5FD
oklch(88.5% 0.055 284.1)
-
Step 300
300 (this color)
#BAB9FF
oklch(81.2% 0.098 284.6)
-
Step 400
400
#9790FE
oklch(70.7% 0.158 284.5)
-
Step 500
500
#8170FC
oklch(63.2% 0.201 284.6)
-
Step 600
600
#6D52EB
oklch(55.6% 0.219 284.8)
-
Step 700
700
#5B41CC
oklch(49% 0.203 284.6)
-
Step 800
800
#4A37A5
oklch(42.7% 0.168 284.6)
-
Step 900
900
#3D3283
oklch(37.8% 0.131 284.4)
-
Step 950
950
#231E4D
oklch(27% 0.084 284.1)
#BAB9FF 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) | #A6C2FF | 0.033 |
| Deuteranopia (no green cones) | #A4BDFD | 0.030 |
| Tritanopia (no blue cones) | #AAC5D2 | 0.084 |
| Achromatopsia (no color) | #BFBFBF | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAB9FF
#BAB9FF
oklch(81.2% 0.098 284.6)
- #CBC579
#CBC579
oklch(81.1% 0.098 104.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 #BAB9FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pastel Blue #A2BFFE ΔE 0.033
- Pale Violet #CEAEFA ΔE 0.036
- Light Periwinkle #C1C6FC ΔE 0.038
- Light Violet #D6B4FC ΔE 0.040
- Carolina Blue #8AB8FE ΔE 0.060
- Lilac #CEA2FD ΔE 0.061
- Baby Blue #A2CFFE ΔE 0.062
- Light Lavender #DFC5FE ΔE 0.063
Use #BAB9FF 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.