#BA81EF
Closest named color: Light Purple (#BF77F6). oklch(70.4% 0.164 306.6), rgb(186, 129, 239).
Aa
Black text reads best on this color (7.47:1).
About this color
#BA81EF is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.164 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.027 away. Black text reads best on it, at 7.47:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.164) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.47:1 |
| White text | 2.80:1 |
Values
| HEX | #BA81EF |
| RGB | rgb(186, 129, 239) |
| HSL | hsl(271, 77%, 72%) |
| OKLCH | oklch(70.4% 0.164 306.6) |
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 #BA81EF | 2.80:1 | Fails | Lc -59.1 | Large or bold text, headings |
| Black text on #BA81EF | 7.47:1 | AAA | Lc 50.2 | Large or bold text, headings |
| #BA81EF text on white | 2.80:1 | Fails | Lc 53.8 | Large or bold text, headings |
| #BA81EF text on black | 7.47:1 | AAA | Lc -48.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
#EFE5FA
oklch(93.6% 0.03 307.1)
-
Step 200
200
#E3D0F7
oklch(88.5% 0.057 307.2)
-
Step 300
300
#D1AFF5
oklch(80.8% 0.103 306.4)
-
Step 400
400 (this color)
#BA81EF
oklch(70.4% 0.164 306.6)
-
Step 500
500
#AA5DEB
oklch(63.1% 0.21 306.3)
-
Step 600
600
#963CD9
oklch(55.6% 0.228 306.4)
-
Step 700
700
#802BBC
oklch(49% 0.213 306.5)
-
Step 800
800
#682798
oklch(42.7% 0.175 306.5)
-
Step 900
900
#542679
oklch(37.6% 0.137 306.3)
-
Step 950
950
#311847
oklch(27% 0.086 306)
#BA81EF 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) | #6598F3 | 0.122 |
| Deuteranopia (no green cones) | #739BEC | 0.113 |
| Tritanopia (no blue cones) | #B293AD | 0.120 |
| Achromatopsia (no color) | #9A9A9A | 0.165 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA81EF
#BA81EF
oklch(70.4% 0.164 306.6)
- #85B12A
#85B12A
oklch(70.4% 0.164 126.5)
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 #BA81EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.027
- Liliac #C48EFD ΔE 0.038
- Easter Purple #C071FE ΔE 0.045
- Light Urple #B36FF6 ΔE 0.046
- Pale Purple #B790D4 ΔE 0.060
- Orchid #DA70D6 ΔE 0.068
- Baby Purple #CA9BF7 ΔE 0.069
- Perrywinkle #8F8CE7 ΔE 0.070
Use #BA81EF 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.