#BA7EE8
Closest named color: Light Purple (#BF77F6). oklch(69.6% 0.161 308.9), rgb(186, 126, 232).
Aa
Black text reads best on this color (7.23:1).
About this color
#BA7EE8 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.161 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.029 away. Black text reads best on it, at 7.23:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.161) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.23:1 |
| White text | 2.90:1 |
Values
| HEX | #BA7EE8 |
| RGB | rgb(186, 126, 232) |
| HSL | hsl(274, 70%, 70%) |
| OKLCH | oklch(69.6% 0.161 308.9) |
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 #BA7EE8 | 2.90:1 | Fails | Lc -60.4 | Content text, not long reading |
| Black text on #BA7EE8 | 7.23:1 | AAA | Lc 48.9 | Large or bold text, headings |
| #BA7EE8 text on white | 2.90:1 | Fails | Lc 55.1 | Large or bold text, headings |
| #BA7EE8 text on black | 7.23:1 | AAA | Lc -46.7 | 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
#E4D0F6
oklch(88.6% 0.056 308.9)
-
Step 300
300
#D3AFF2
oklch(80.8% 0.1 308.7)
-
Step 400
400 (this color)
#BA7EE8
oklch(69.6% 0.161 308.9)
-
Step 500
500
#AD5CE6
oklch(63% 0.207 308.7)
-
Step 600
600
#993CD3
oklch(55.6% 0.223 309)
-
Step 700
700
#832CB7
oklch(49.1% 0.208 309.1)
-
Step 800
800
#6A2794
oklch(42.7% 0.172 308.9)
-
Step 900
900
#562676
oklch(37.6% 0.134 308.9)
-
Step 950
950
#321845
oklch(27% 0.084 308.5)
#BA7EE8 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) | #6595EC | 0.124 |
| Deuteranopia (no green cones) | #7498E5 | 0.113 |
| Tritanopia (no blue cones) | #B48FA8 | 0.115 |
| Achromatopsia (no color) | #989898 | 0.162 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7EE8
#BA7EE8
oklch(69.6% 0.161 308.9)
- #7EAF32
#7EAF32
oklch(69.5% 0.161 128.7)
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 #BA7EE8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.029
- Light Urple #B36FF6 ΔE 0.045
- Easter Purple #C071FE ΔE 0.047
- Liliac #C48EFD ΔE 0.048
- Pale Purple #B790D4 ΔE 0.059
- Orchid #DA70D6 ΔE 0.063
- Wisteria #A87DC2 ΔE 0.064
- Lavender Pink #DD85D7 ΔE 0.070
Use #BA7EE8 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.