#BA4FE7
Closest named color: Medium Orchid (#BA55D3). oklch(63% 0.229 314.2), rgb(186, 79, 231).
Aa
Black text reads best on this color (5.36:1).
About this color
#BA4FE7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.229 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.033 away. Black text reads best on it, at 5.36:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.229) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.36:1 |
| White text | 3.91:1 |
Values
| HEX | #BA4FE7 |
| RGB | rgb(186, 79, 231) |
| HSL | hsl(282, 76%, 61%) |
| OKLCH | oklch(63% 0.229 314.2) |
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 #BA4FE7 | 3.91:1 | AA large text | Lc -71.3 | Content text, not long reading |
| Black text on #BA4FE7 | 5.36:1 | AA | Lc 38.3 | Non-text elements, placeholder text |
| #BA4FE7 text on white | 3.91:1 | AA large text | Lc 65.8 | Content text, not long reading |
| #BA4FE7 text on black | 5.36:1 | AA | Lc -35.9 | 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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4F9
oklch(93.6% 0.032 314.7)
-
Step 200
200
#E9CEF6
oklch(88.6% 0.061 314.8)
-
Step 300
300
#DBABF3
oklch(80.9% 0.111 314.1)
-
Step 400
400
#C97AED
oklch(70.8% 0.179 314.4)
-
Step 500
500 (this color)
#BA4FE7
oklch(63% 0.229 314.2)
-
Step 600
600
#A626D5
oklch(55.6% 0.25 314.3)
-
Step 700
700
#8E13B9
oklch(49.1% 0.232 314.1)
-
Step 800
800
#731795
oklch(42.6% 0.192 314.2)
-
Step 900
900
#5D1E77
oklch(37.7% 0.149 314)
-
Step 950
950
#371346
oklch(27% 0.096 314.4)
#BA4FE7 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) | #007BEC | 0.216 |
| Deuteranopia (no green cones) | #4883E3 | 0.189 |
| Tritanopia (no blue cones) | #B66D95 | 0.151 |
| Achromatopsia (no color) | #818181 | 0.231 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA4FE7
#BA4FE7
oklch(63% 0.229 314.2)
- #569F00
#569F00
oklch(63% 0.181 134.2)
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 #BA4FE7, closest first.
No curated palette has a color within ΔE 0.04 of #BA4FE7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.033
- Lighter Purple #A55AF4 ΔE 0.045
- Bright Lilac #C95EFB ΔE 0.048
- Bright Lavender #C760FF ΔE 0.052
- Heliotrope #D94FF5 ΔE 0.060
- Light Urple #B36FF6 ΔE 0.063
- Pinky Purple #C94CBE ΔE 0.069
- Purple Pink #D725DE ΔE 0.070
Use #BA4FE7 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.