#B8A2EC
Closest named color: Baby Purple (#CA9BF7). oklch(75.8% 0.107 297.5), rgb(184, 162, 236).
Aa
Black text reads best on this color (9.41:1).
About this color
#B8A2EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.107 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.037 away. Black text reads best on it, at 9.41:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.107) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.41:1 |
| White text | 2.22:1 |
Values
| HEX | #B8A2EC |
| RGB | rgb(184, 162, 236) |
| HSL | hsl(258, 66%, 78%) |
| OKLCH | oklch(75.8% 0.107 297.5) |
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 #B8A2EC | 2.22:1 | Fails | Lc -48.7 | Large or bold text, headings |
| Black text on #B8A2EC | 9.41:1 | AAA | Lc 60.1 | Content text, not long reading |
| #B8A2EC text on white | 2.22:1 | Fails | Lc 43.9 | Non-text elements, placeholder text |
| #B8A2EC text on black | 9.41:1 | AAA | Lc -58.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
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#ECE6FD
oklch(93.6% 0.031 297.7)
-
Step 200
200
#DDD2FC
oklch(88.6% 0.058 297.2)
-
Step 300
300 (this color)
#B8A2EC
oklch(75.8% 0.107 297.5)
-
Step 400
400
#AE86FC
oklch(70.8% 0.17 297.5)
-
Step 500
500
#9C61FA
oklch(63.2% 0.218 297.5)
-
Step 600
600
#8840E9
oklch(55.7% 0.237 297.5)
-
Step 700
700
#732FCA
oklch(49% 0.22 297.4)
-
Step 800
800
#5E2AA3
oklch(42.7% 0.182 297.7)
-
Step 900
900
#4C2982
oklch(37.8% 0.142 297.1)
-
Step 950
950
#2C194C
oklch(26.9% 0.09 297.1)
#B8A2EC 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) | #91AEEF | 0.057 |
| Deuteranopia (no green cones) | #94ADEA | 0.054 |
| Tritanopia (no blue cones) | #AEAEBD | 0.086 |
| Achromatopsia (no color) | #AEAEAE | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B8A2EC
#B8A2EC
oklch(75.8% 0.107 297.5)
- #ABBA69
#ABBA69
oklch(75.9% 0.107 117.6)
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 #B8A2EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.037
- Pastel Purple #CAA0FF ΔE 0.040
- Lilac #CEA2FD ΔE 0.042
- Pale Violet #CEAEFA ΔE 0.049
- Pale Purple #B790D4 ΔE 0.050
- Plum #DDA0DD ΔE 0.059
- Liliac #C48EFD ΔE 0.061
- Light Violet #D6B4FC ΔE 0.068
Use #B8A2EC 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.