#BA7DF1
Closest named color: Light Purple (#BF77F6). oklch(69.9% 0.173 306.7), rgb(186, 125, 241).
Aa
Black text reads best on this color (7.29:1).
About this color
#BA7DF1 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.173 and its hue 307°. 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.29:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.173) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.29:1 |
| White text | 2.88:1 |
Values
| HEX | #BA7DF1 |
| RGB | rgb(186, 125, 241) |
| HSL | hsl(272, 81%, 72%) |
| OKLCH | oklch(69.9% 0.173 306.7) |
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 #BA7DF1 | 2.88:1 | Fails | Lc -60.1 | Content text, not long reading |
| Black text on #BA7DF1 | 7.29:1 | AAA | Lc 49.3 | Large or bold text, headings |
| #BA7DF1 text on white | 2.88:1 | Fails | Lc 54.8 | Large or bold text, headings |
| #BA7DF1 text on black | 7.29:1 | AAA | Lc -47.0 | 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
#D3AEF8
oklch(80.9% 0.109 306.9)
-
Step 400
400 (this color)
#BA7DF1
oklch(69.9% 0.173 306.7)
-
Step 500
500
#AC58EF
oklch(63% 0.221 306.7)
-
Step 600
600
#9835DE
oklch(55.6% 0.24 306.5)
-
Step 700
700
#8224C0
oklch(49% 0.223 306.8)
-
Step 800
800
#6A229C
oklch(42.8% 0.185 306.8)
-
Step 900
900
#56247C
oklch(37.8% 0.144 306.8)
-
Step 950
950
#321648
oklch(26.9% 0.091 307.1)
#BA7DF1 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) | #5D96F5 | 0.132 |
| Deuteranopia (no green cones) | #6E99EE | 0.120 |
| Tritanopia (no blue cones) | #B291AC | 0.126 |
| Achromatopsia (no color) | #989898 | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7DF1
#BA7DF1
oklch(69.9% 0.173 306.7)
- #81B018
#81B018
oklch(69.8% 0.173 126.8)
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 #BA7DF1, 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.037
- Liliac #C48EFD ΔE 0.045
- Bright Lavender #C760FF ΔE 0.067
- Orchid #DA70D6 ΔE 0.068
- Bright Lilac #C95EFB ΔE 0.069
- Pale Purple #B790D4 ΔE 0.070
Use #BA7DF1 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.