#BA4CEB
Closest named color: Medium Orchid (#BA55D3). oklch(63% 0.237 313.5), rgb(186, 76, 235).
Aa
Black text reads best on this color (5.32:1).
About this color
#BA4CEB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.237 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.041 away. Black text reads best on it, at 5.32:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.237) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.32:1 |
| White text | 3.94:1 |
Values
| HEX | #BA4CEB |
| RGB | rgb(186, 76, 235) |
| HSL | hsl(282, 80%, 61%) |
| OKLCH | oklch(63% 0.237 313.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 #BA4CEB | 3.94:1 | AA large text | Lc -71.5 | Content text, not long reading |
| Black text on #BA4CEB | 5.32:1 | AA | Lc 38.1 | Non-text elements, placeholder text |
| #BA4CEB text on white | 3.94:1 | AA large text | Lc 66.0 | Content text, not long reading |
| #BA4CEB text on black | 5.32:1 | AA | Lc -35.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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4FA
oklch(93.6% 0.033 313.5)
-
Step 200
200
#E9CDF8
oklch(88.5% 0.065 313.9)
-
Step 300
300
#DBAAF6
oklch(80.9% 0.117 313.2)
-
Step 400
400
#C978F1
oklch(70.7% 0.186 313.5)
-
Step 500
500 (this color)
#BA4CEB
oklch(63% 0.237 313.5)
-
Step 600
600
#A620DA
oklch(55.6% 0.258 313.3)
-
Step 700
700
#8E09BD
oklch(49.1% 0.24 313.2)
-
Step 800
800
#741399
oklch(42.8% 0.198 313.5)
-
Step 900
900
#5D1C7A
oklch(37.7% 0.154 312.9)
-
Step 950
950
#371347
oklch(27.1% 0.097 313.7)
#BA4CEB 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) | #007AF0 | 0.217 |
| Deuteranopia (no green cones) | #4183E7 | 0.196 |
| Tritanopia (no blue cones) | #B56C96 | 0.156 |
| Achromatopsia (no color) | #808080 | 0.239 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA4CEB
#BA4CEB
oklch(63% 0.237 313.5)
- #599E00
#599E00
oklch(62.9% 0.179 133.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 #BA4CEB, closest first.
No curated palette has a color within ΔE 0.04 of #BA4CEB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.041
- Lighter Purple #A55AF4 ΔE 0.045
- Bright Lilac #C95EFB ΔE 0.048
- Bright Lavender #C760FF ΔE 0.051
- Heliotrope #D94FF5 ΔE 0.060
- Neon Purple #BC13FE ΔE 0.064
- Light Urple #B36FF6 ΔE 0.066
- Hot Purple #CB00F5 ΔE 0.067
Use #BA4CEB 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.