#BA7EF3
Closest named color: Light Purple (#BF77F6). oklch(70.1% 0.174 306.1), rgb(186, 126, 243).
Aa
Black text reads best on this color (7.36:1).
About this color
#BA7EF3 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.174 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.018 away. Black text reads best on it, at 7.36:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.174) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.36:1 |
| White text | 2.85:1 |
Values
| HEX | #BA7EF3 |
| RGB | rgb(186, 126, 243) |
| HSL | hsl(271, 83%, 72%) |
| OKLCH | oklch(70.1% 0.174 306.1) |
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 #BA7EF3 | 2.85:1 | Fails | Lc -59.7 | Large or bold text, headings |
| Black text on #BA7EF3 | 7.36:1 | AAA | Lc 49.7 | Large or bold text, headings |
| #BA7EF3 text on white | 2.85:1 | Fails | Lc 54.4 | Large or bold text, headings |
| #BA7EF3 text on black | 7.36:1 | AAA | Lc -47.4 | 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
#F8F3FD
oklch(97.1% 0.014 308.3)
-
Step 100
100
#EFE5FB
oklch(93.6% 0.031 306.2)
-
Step 200
200
#E3CFF9
oklch(88.4% 0.061 306.7)
-
Step 300
300
#D2AEF8
oklch(80.8% 0.109 306.3)
-
Step 400
400 (this color)
#BA7EF3
oklch(70.1% 0.174 306.1)
-
Step 500
500
#AC59F1
oklch(63.2% 0.222 306.1)
-
Step 600
600
#9735DF
oklch(55.5% 0.241 306)
-
Step 700
700
#8124C2
oklch(49.1% 0.225 305.9)
-
Step 800
800
#69229D
oklch(42.7% 0.186 306)
-
Step 900
900
#55247D
oklch(37.8% 0.145 305.7)
-
Step 950
950
#321649
oklch(27% 0.093 306.4)
#BA7EF3 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) | #5E97F7 | 0.131 |
| Deuteranopia (no green cones) | #6E99F0 | 0.119 |
| Tritanopia (no blue cones) | #B192AD | 0.128 |
| Achromatopsia (no color) | #999999 | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7EF3
#BA7EF3
oklch(70.1% 0.174 306.1)
- #84B114
#84B114
oklch(70.2% 0.174 126.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 #BA7EF3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.018
- Easter Purple #C071FE ΔE 0.035
- Light Urple #B36FF6 ΔE 0.038
- Liliac #C48EFD ΔE 0.042
- Bright Lavender #C760FF ΔE 0.067
- Bright Lilac #C95EFB ΔE 0.070
- Periwinkle #8E82FE ΔE 0.070
- Orchid #DA70D6 ΔE 0.070
Use #BA7EF3 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.