#BA7FF8
Closest named color: Light Purple (#BF77F6). oklch(70.6% 0.178 304.8), rgb(186, 127, 248).
Aa
Black text reads best on this color (7.47:1).
About this color
#BA7FF8 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.178 and its hue 305°. 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.47:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.178) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.47:1 |
| White text | 2.80:1 |
Values
| HEX | #BA7FF8 |
| RGB | rgb(186, 127, 248) |
| HSL | hsl(269, 90%, 74%) |
| OKLCH | oklch(70.6% 0.178 304.8) |
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 #BA7FF8 | 2.80:1 | Fails | Lc -59.0 | Large or bold text, headings |
| Black text on #BA7FF8 | 7.47:1 | AAA | Lc 50.3 | Large or bold text, headings |
| #BA7FF8 text on white | 2.80:1 | Fails | Lc 53.7 | Large or bold text, headings |
| #BA7FF8 text on black | 7.47:1 | AAA | Lc -48.1 | 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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#EFE5FC
oklch(93.7% 0.032 305.3)
-
Step 200
200
#E2D0FB
oklch(88.6% 0.061 304.2)
-
Step 300
300
#D1AEFB
oklch(80.9% 0.112 304.8)
-
Step 400
400 (this color)
#BA7FF8
oklch(70.6% 0.178 304.8)
-
Step 500
500
#AA58F5
oklch(63.1% 0.227 304.7)
-
Step 600
600
#9633E4
oklch(55.6% 0.247 304.6)
-
Step 700
700
#8022C6
oklch(49.1% 0.23 304.6)
-
Step 800
800
#6820A0
oklch(42.7% 0.191 304.7)
-
Step 900
900
#54237F
oklch(37.7% 0.148 304.5)
-
Step 950
950
#31164A
oklch(26.9% 0.094 304.8)
#BA7FF8 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) | #5C98FC | 0.131 |
| Deuteranopia (no green cones) | #6C9AF5 | 0.120 |
| Tritanopia (no blue cones) | #B094B0 | 0.132 |
| Achromatopsia (no color) | #9A9A9A | 0.179 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA7FF8
#BA7FF8
oklch(70.6% 0.178 304.8)
- #88B200
#88B200
oklch(70.7% 0.177 124.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 #BA7FF8, 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.033
- Light Urple #B36FF6 ΔE 0.038
- Liliac #C48EFD ΔE 0.040
- Bright Lavender #C760FF ΔE 0.067
- Periwinkle #8E82FE ΔE 0.069
- Bright Lilac #C95EFB ΔE 0.069
- Lavender Blue #8B88F8 ΔE 0.073
Use #BA7FF8 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.