#BA7EEA
Closest named color: Light Purple (#BF77F6). oklch(69.7% 0.163 308.3), rgb(186, 126, 234).
Aa
Black text reads best on this color (7.26:1).
About this color
#BA7EEA is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.163 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.026 away. Black text reads best on it, at 7.26:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.163) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.26:1 |
| White text | 2.89:1 |
Values
| HEX | #BA7EEA |
| RGB | rgb(186, 126, 234) |
| HSL | hsl(273, 72%, 71%) |
| OKLCH | oklch(69.7% 0.163 308.3) |
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 #BA7EEA | 2.89:1 | Fails | Lc -60.3 | Content text, not long reading |
| Black text on #BA7EEA | 7.26:1 | AAA | Lc 49.1 | Large or bold text, headings |
| #BA7EEA text on white | 2.89:1 | Fails | Lc 55.0 | Large or bold text, headings |
| #BA7EEA text on black | 7.26:1 | AAA | Lc -46.8 | 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
#EFE5F9
oklch(93.6% 0.029 308.1)
-
Step 200
200
#E4D0F7
oklch(88.6% 0.057 308.3)
-
Step 300
300
#D3AFF3
oklch(80.9% 0.101 308.4)
-
Step 400
400 (this color)
#BA7EEA
oklch(69.7% 0.163 308.3)
-
Step 500
500
#AD5CE8
oklch(63.1% 0.209 308.2)
-
Step 600
600
#993BD6
oklch(55.7% 0.227 308.3)
-
Step 700
700
#822BB9
oklch(49.1% 0.21 308.2)
-
Step 800
800
#6A2696
oklch(42.7% 0.175 308.3)
-
Step 900
900
#562677
oklch(37.7% 0.135 308.5)
-
Step 950
950
#321746
oklch(26.9% 0.087 308.1)
#BA7EEA 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) | #6395EE | 0.126 |
| Deuteranopia (no green cones) | #7399E7 | 0.115 |
| Tritanopia (no blue cones) | #B390A9 | 0.118 |
| Achromatopsia (no color) | #989898 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7EEA
#BA7EEA
oklch(69.7% 0.163 308.3)
- #7FB02E
#7FB02E
oklch(69.8% 0.164 128.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 #BA7EEA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.026
- Light Urple #B36FF6 ΔE 0.044
- Easter Purple #C071FE ΔE 0.045
- Liliac #C48EFD ΔE 0.046
- Pale Purple #B790D4 ΔE 0.061
- Orchid #DA70D6 ΔE 0.064
- Wisteria #A87DC2 ΔE 0.067
- Lavender Pink #DD85D7 ΔE 0.071
Use #BA7EEA 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.