#BA5FC7
Closest named color: Medium Orchid (#BA55D3). oklch(63.2% 0.176 322.5), rgb(186, 95, 199).
Aa
Black text reads best on this color (5.54:1).
About this color
#BA5FC7 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.176 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.029 away. Black text reads best on it, at 5.54:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.176) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.54:1 |
| White text | 3.78:1 |
Values
| HEX | #BA5FC7 |
| RGB | rgb(186, 95, 199) |
| HSL | hsl(293, 48%, 58%) |
| OKLCH | oklch(63.2% 0.176 322.5) |
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 #BA5FC7 | 3.78:1 | AA large text | Lc -70.4 | Content text, not long reading |
| Black text on #BA5FC7 | 5.54:1 | AA | Lc 39.2 | Non-text elements, placeholder text |
| #BA5FC7 text on white | 3.78:1 | AA large text | Lc 64.9 | Content text, not long reading |
| #BA5FC7 text on black | 5.54:1 | AA | Lc -36.7 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F4
oklch(93.7% 0.024 321.7)
-
Step 200
200
#E9CFEC
oklch(88.5% 0.048 322.7)
-
Step 300
300
#DCAEE2
oklch(80.9% 0.087 322.5)
-
Step 400
400
#C982D3
oklch(70.8% 0.138 322.4)
-
Step 500
500 (this color)
#BA5FC7
oklch(63.2% 0.176 322.5)
-
Step 600
600
#A541B3
oklch(55.6% 0.191 322.6)
-
Step 700
700
#8D329A
oklch(49.1% 0.177 322.5)
-
Step 800
800
#732B7D
oklch(42.8% 0.147 322.6)
-
Step 900
900
#5D2864
oklch(37.7% 0.114 322.8)
-
Step 950
950
#37183B
oklch(27% 0.074 322.9)
#BA5FC7 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) | #4F7CCA | 0.167 |
| Deuteranopia (no green cones) | #6C87C4 | 0.148 |
| Tritanopia (no blue cones) | #BC6D8A | 0.107 |
| Achromatopsia (no color) | #838383 | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA5FC7
#BA5FC7
oklch(63.2% 0.176 322.5)
- #3BA336
#3BA336
oklch(63.2% 0.175 142.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 #BA5FC7, closest first.
No curated palette has a color within ΔE 0.04 of #BA5FC7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.029
- Pinky Purple #C94CBE ΔE 0.042
- Amethyst #9B5FC0 ΔE 0.056
- Soft Purple #A66FB5 ΔE 0.058
- Purpley Pink #C83CB9 ΔE 0.063
- Deep Lilac #966EBD ΔE 0.070
- Orchid #DA70D6 ΔE 0.073
- Light Urple #B36FF6 ΔE 0.074
Use #BA5FC7 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.