#BA40FE
Closest named color: Neon Purple (#BC13FE). oklch(63.1% 0.267 310), rgb(186, 64, 254).
Aa
Black text reads best on this color (5.25:1).
About this color
#BA40FE is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.267 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Neon Purple (#BC13FE), ΔE 0.039 away. Black text reads best on it, at 5.25:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.267) |
| Temperature | in between |
| Nearest name | Neon Purple (#BC13FE) |
| Black text | 5.25:1 |
| White text | 3.99:1 |
Values
| HEX | #BA40FE |
| RGB | rgb(186, 64, 254) |
| HSL | hsl(279, 99%, 62%) |
| OKLCH | oklch(63.1% 0.267 310) |
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 #BA40FE | 3.99:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #BA40FE | 5.25:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #BA40FE text on white | 3.99:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #BA40FE text on black | 5.25:1 | AA | Lc -35.5 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F9F2FF
oklch(97% 0.019 309.8)
-
Step 100
100
#F2E3FD
oklch(93.5% 0.038 311.1)
-
Step 200
200
#E8CCFE
oklch(88.4% 0.074 310.1)
-
Step 300
300
#DAA9FF
oklch(81% 0.128 309.8)
-
Step 400
400
#C874FF
oklch(70.8% 0.207 310)
-
Step 500
500 (this color)
#BA40FE
oklch(63.1% 0.267 310)
-
Step 600
600
#A500E9
oklch(55.6% 0.281 310.2)
-
Step 700
700
#8B00C6
oklch(49.1% 0.249 309.9)
-
Step 800
800
#7200A4
oklch(42.7% 0.216 309.7)
-
Step 900
900
#5D1284
oklch(37.7% 0.174 309.8)
-
Step 950
950
#370F4D
oklch(27.1% 0.11 310.5)
#BA40FE 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) | #007AFF | 0.221 |
| Deuteranopia (no green cones) | #0081FA | 0.224 |
| Tritanopia (no blue cones) | #B06E9D | 0.183 |
| Achromatopsia (no color) | #7F7F7F | 0.269 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA40FE
#BA40FE
oklch(63.1% 0.267 310)
- #669C00
#669C00
oklch(63% 0.17 129.9)
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 #BA40FE, closest first.
No curated palette has a color within ΔE 0.04 of #BA40FE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Purple #BC13FE ΔE 0.039
- Bright Purple #BE03FD ΔE 0.044
- Electric Purple #AA23FF ΔE 0.047
- Hot Purple #CB00F5 ΔE 0.054
- Lighter Purple #A55AF4 ΔE 0.054
- Bright Violet #AD0AFD ΔE 0.054
- Bright Lilac #C95EFB ΔE 0.059
- Bright Lavender #C760FF ΔE 0.060
Use #BA40FE 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.