#B2AFF5
Closest named color: Pale Violet (#CEAEFA). oklch(78.2% 0.099 285.8), rgb(178, 175, 245).
Aa
Black text reads best on this color (10.34:1).
About this color
#B2AFF5 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.099 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.041 away. Black text reads best on it, at 10.34:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.34:1 |
| White text | 2.03:1 |
Values
| HEX | #B2AFF5 |
| RGB | rgb(178, 175, 245) |
| HSL | hsl(243, 78%, 82%) |
| OKLCH | oklch(78.2% 0.099 285.8) |
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 #B2AFF5 | 2.03:1 | Fails | Lc -43.9 | Non-text elements, placeholder text |
| Black text on #B2AFF5 | 10.34:1 | AAA | Lc 64.5 | Content text, not long reading |
| #B2AFF5 text on white | 2.03:1 | Fails | Lc 39.4 | Non-text elements, placeholder text |
| #B2AFF5 text on black | 10.34:1 | AAA | Lc -62.9 | 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
#E8E8FD
oklch(93.7% 0.028 285.8)
-
Step 200
200
#D5D5FD
oklch(88.6% 0.055 285.2)
-
Step 300
300 (this color)
#B2AFF5
oklch(78.2% 0.099 285.8)
-
Step 400
400
#998FFE
oklch(70.7% 0.159 285.7)
-
Step 500
500
#836EFC
oklch(63.1% 0.203 285.8)
-
Step 600
600
#6F51EB
oklch(55.6% 0.22 285.7)
-
Step 700
700
#5E40CC
oklch(49.1% 0.204 286)
-
Step 800
800
#4C36A5
oklch(42.7% 0.169 285.8)
-
Step 900
900
#3F3183
oklch(37.8% 0.132 286.1)
-
Step 950
950
#241E4D
oklch(27.1% 0.084 285.2)
#B2AFF5 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) | #9CB8F8 | 0.034 |
| Deuteranopia (no green cones) | #9AB4F3 | 0.033 |
| Tritanopia (no blue cones) | #A2BBC8 | 0.085 |
| Achromatopsia (no color) | #B6B6B6 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B2AFF5
#B2AFF5
oklch(78.2% 0.099 285.8)
- #C0BC6F
#C0BC6F
oklch(78.1% 0.099 105.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 #B2AFF5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.041
- Pastel Blue #A2BFFE ΔE 0.043
- Carolina Blue #8AB8FE ΔE 0.052
- Lilac #CEA2FD ΔE 0.053
- Pastel Purple #CAA0FF ΔE 0.054
- Light Violet #D6B4FC ΔE 0.055
- Baby Purple #CA9BF7 ΔE 0.059
- Light Periwinkle #C1C6FC ΔE 0.064
Use #B2AFF5 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.