#BA7EFF
Closest named color: Light Purple (#BF77F6). oklch(70.8% 0.188 303.4), rgb(186, 126, 255).
Aa
Black text reads best on this color (7.51:1).
About this color
#BA7EFF is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.188 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.020 away. Black text reads best on it, at 7.51:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.188) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.51:1 |
| White text | 2.79:1 |
Values
| HEX | #BA7EFF |
| RGB | rgb(186, 126, 255) |
| HSL | hsl(268, 100%, 75%) |
| OKLCH | oklch(70.8% 0.188 303.4) |
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 #BA7EFF | 2.79:1 | Fails | Lc -58.8 | Large or bold text, headings |
| Black text on #BA7EFF | 7.51:1 | AAA | Lc 50.5 | Large or bold text, headings |
| #BA7EFF text on white | 2.79:1 | Fails | Lc 53.5 | Large or bold text, headings |
| #BA7EFF text on black | 7.51:1 | AAA | Lc -48.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 400.
-
Step 50
50
#F7F3FE
oklch(97% 0.015 302.6)
-
Step 100
100
#EEE5FD
oklch(93.6% 0.033 302.7)
-
Step 200
200
#E2CFFD
oklch(88.5% 0.066 303.9)
-
Step 300
300
#D0AEFF
oklch(80.9% 0.117 303.1)
-
Step 400
400 (this color)
#BA7EFF
oklch(70.8% 0.188 303.4)
-
Step 500
500
#AA54FD
oklch(63.2% 0.24 303.5)
-
Step 600
600
#962BEC
oklch(55.6% 0.261 303.4)
-
Step 700
700
#8018CD
oklch(49.1% 0.243 303.5)
-
Step 800
800
#681BA6
oklch(42.8% 0.201 303.4)
-
Step 900
900
#542083
oklch(37.6% 0.156 303.5)
-
Step 950
950
#31154D
oklch(27% 0.099 303.3)
#BA7EFF 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) | #5499FF | 0.140 |
| Deuteranopia (no green cones) | #669AFC | 0.126 |
| Tritanopia (no blue cones) | #AE96B3 | 0.141 |
| Achromatopsia (no color) | #9B9B9B | 0.189 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7EFF
#BA7EFF
oklch(70.8% 0.188 303.4)
- #8CB100
#8CB100
oklch(70.7% 0.174 123.3)
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 #BA7EFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.020
- Easter Purple #C071FE ΔE 0.028
- Light Urple #B36FF6 ΔE 0.037
- Liliac #C48EFD ΔE 0.043
- Bright Lavender #C760FF ΔE 0.062
- Bright Lilac #C95EFB ΔE 0.066
- Periwinkle #8E82FE ΔE 0.068
- Lavender Blue #8B88F8 ΔE 0.074
Use #BA7EFF 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.