#B2A7EB
Closest named color: Pale Violet (#CEAEFA). oklch(76.2% 0.097 291.3), rgb(178, 167, 235).
Aa
Black text reads best on this color (9.62:1).
About this color
#B2A7EB is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.097 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.050 away. Black text reads best on it, at 9.62:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.097) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 9.62:1 |
| White text | 2.18:1 |
Values
| HEX | #B2A7EB |
| RGB | rgb(178, 167, 235) |
| HSL | hsl(250, 63%, 79%) |
| OKLCH | oklch(76.2% 0.097 291.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 #B2A7EB | 2.18:1 | Fails | Lc -47.6 | Large or bold text, headings |
| Black text on #B2A7EB | 9.62:1 | AAA | Lc 61.0 | Content text, not long reading |
| #B2A7EB text on white | 2.18:1 | Fails | Lc 42.9 | Non-text elements, placeholder text |
| #B2A7EB text on black | 9.62:1 | AAA | Lc -59.3 | Large or bold text, headings |
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
#F5F4FE
oklch(97.1% 0.013 290.8)
-
Step 100
100
#E9E7FC
oklch(93.6% 0.028 290.2)
-
Step 200
200
#D9D4FB
oklch(88.6% 0.053 291.1)
-
Step 300
300 (this color)
#B2A7EB
oklch(76.2% 0.097 291.3)
-
Step 400
400
#A38CF9
oklch(70.7% 0.156 291.6)
-
Step 500
500
#8E6BF5
oklch(63% 0.198 291.4)
-
Step 600
600
#7A4EE4
oklch(55.6% 0.215 291.3)
-
Step 700
700
#673DC6
oklch(49.1% 0.2 291.3)
-
Step 800
800
#5434A0
oklch(42.7% 0.165 291.4)
-
Step 900
900
#452F7F
oklch(37.7% 0.129 291.7)
-
Step 950
950
#281D4A
oklch(27.1% 0.08 291.4)
#B2A7EB 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) | #96B1EE | 0.042 |
| Deuteranopia (no green cones) | #96AEE9 | 0.040 |
| Tritanopia (no blue cones) | #A6B2BF | 0.081 |
| Achromatopsia (no color) | #AFAFAF | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B2A7EB
#B2A7EB
oklch(76.2% 0.097 291.3)
- #B4B86E
#B4B86E
oklch(76.3% 0.097 111.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 #B2A7EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.050
- Baby Purple #CA9BF7 ΔE 0.051
- Pastel Purple #CAA0FF ΔE 0.051
- Lilac #CEA2FD ΔE 0.052
- Pale Purple #B790D4 ΔE 0.059
- Pastel Blue #A2BFFE ΔE 0.062
- Carolina Blue #8AB8FE ΔE 0.063
- Plum #DDA0DD ΔE 0.066
Use #B2A7EB 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.