#BA9DEF
Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.119 299.8), rgb(186, 157, 239).
Aa
Black text reads best on this color (9.15:1).
About this color
#BA9DEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 75%, its chroma 0.119 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.028 away. Black text reads best on it, at 9.15:1.
| Hue family | Purples |
| Lightness | medium-light (75%) |
| Chroma | moderately saturated (0.119) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.15:1 |
| White text | 2.29:1 |
Values
| HEX | #BA9DEF |
| RGB | rgb(186, 157, 239) |
| HSL | hsl(261, 72%, 78%) |
| OKLCH | oklch(75.2% 0.119 299.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 #BA9DEF | 2.29:1 | Fails | Lc -50.0 | Large or bold text, headings |
| Black text on #BA9DEF | 9.15:1 | AAA | Lc 58.8 | Large or bold text, headings |
| #BA9DEF text on white | 2.29:1 | Fails | Lc 45.2 | Large or bold text, headings |
| #BA9DEF text on black | 9.15:1 | AAA | Lc -56.9 | 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 400.
-
Step 50
50
#F6F4FB
oklch(97.1% 0.009 299.2)
-
Step 100
100
#ECE7F7
oklch(93.7% 0.022 300.2)
-
Step 200
200
#DDD4F1
oklch(88.6% 0.041 299.7)
-
Step 300
300
#C7B6EA
oklch(80.8% 0.074 299.7)
-
Step 400
400 (this color)
#BA9DEF
oklch(75.2% 0.119 299.8)
-
Step 500
500
#9871D7
oklch(63.1% 0.152 299.7)
-
Step 600
600
#8357C4
oklch(55.6% 0.165 299.7)
-
Step 700
700
#6F46A9
oklch(49% 0.154 299.8)
-
Step 800
800
#5A3A89
oklch(42.6% 0.128 299.7)
-
Step 900
900
#4A336E
oklch(37.7% 0.099 299.6)
-
Step 950
950
#2B1E40
oklch(26.9% 0.063 299.8)
#BA9DEF 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) | #8AABF2 | 0.070 |
| Deuteranopia (no green cones) | #8FABED | 0.066 |
| Tritanopia (no blue cones) | #B0AABB | 0.094 |
| Achromatopsia (no color) | #ABABAB | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA9DEF
#BA9DEF
oklch(75.2% 0.119 299.8)
- #A5BA5F
#A5BA5F
oklch(75.3% 0.12 120.1)
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 #BA9DEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.028
- Pastel Purple #CAA0FF ΔE 0.034
- Lilac #CEA2FD ΔE 0.039
- Pale Purple #B790D4 ΔE 0.045
- Liliac #C48EFD ΔE 0.047
- Pale Violet #CEAEFA ΔE 0.054
- Plum #DDA0DD ΔE 0.062
- Periwinkle Blue #8F99FB ΔE 0.066
Use #BA9DEF 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.