#BA7FEE
Closest named color: Light Purple (#BF77F6). oklch(70% 0.166 307.1), rgb(186, 127, 238).
Aa
Black text reads best on this color (7.35:1).
About this color
#BA7FEE is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.166 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.024 away. Black text reads best on it, at 7.35:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.166) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.35:1 |
| White text | 2.85:1 |
Values
| HEX | #BA7FEE |
| RGB | rgb(186, 127, 238) |
| HSL | hsl(272, 77%, 72%) |
| OKLCH | oklch(70% 0.166 307.1) |
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 #BA7FEE | 2.85:1 | Fails | Lc -59.7 | Large or bold text, headings |
| Black text on #BA7FEE | 7.35:1 | AAA | Lc 49.6 | Large or bold text, headings |
| #BA7FEE text on white | 2.85:1 | Fails | Lc 54.4 | Large or bold text, headings |
| #BA7FEE text on black | 7.35:1 | AAA | Lc -47.4 | 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
#E3D0F8
oklch(88.6% 0.058 306.7)
-
Step 300
300
#D2AFF5
oklch(80.9% 0.103 307)
-
Step 400
400 (this color)
#BA7FEE
oklch(70% 0.166 307.1)
-
Step 500
500
#AC5BEB
oklch(63.1% 0.213 307.3)
-
Step 600
600
#983AD9
oklch(55.7% 0.231 307.3)
-
Step 700
700
#8129BC
oklch(49% 0.215 307.1)
-
Step 800
800
#692598
oklch(42.6% 0.178 307.3)
-
Step 900
900
#552579
oklch(37.6% 0.139 307.2)
-
Step 950
950
#321747
oklch(27% 0.088 307.4)
#BA7FEE 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) | #6297F2 | 0.127 |
| Deuteranopia (no green cones) | #7299EB | 0.115 |
| Tritanopia (no blue cones) | #B291AB | 0.121 |
| Achromatopsia (no color) | #999999 | 0.167 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7FEE
#BA7FEE
oklch(70% 0.166 307.1)
- #82B028
#82B028
oklch(69.9% 0.166 127.1)
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 #BA7FEE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.024
- Easter Purple #C071FE ΔE 0.042
- Liliac #C48EFD ΔE 0.042
- Light Urple #B36FF6 ΔE 0.043
- Pale Purple #B790D4 ΔE 0.063
- Orchid #DA70D6 ΔE 0.067
- Perrywinkle #8F8CE7 ΔE 0.072
- Periwinkle #8E82FE ΔE 0.072
Use #BA7FEE 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.