#BA07BA
Closest named color: Purpley Pink (#C83CB9). oklch(55.5% 0.252 328.3), rgb(186, 7, 186).
Aa
White text reads best on this color (5.48:1).
About this color
#BA07BA is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.252 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.061 away. White text reads best on it, at 5.48:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.252) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 3.82:1 |
| White text | 5.48:1 |
Values
| HEX | #BA07BA |
| RGB | rgb(186, 7, 186) |
| HSL | hsl(300, 93%, 38%) |
| OKLCH | oklch(55.5% 0.252 328.3) |
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 #BA07BA | 5.48:1 | AA | Lc -80.5 | Fine for body text |
| Black text on #BA07BA | 3.82:1 | AA large text | Lc 29.0 | Dividers and decoration only |
| #BA07BA text on white | 5.48:1 | AA | Lc 75.1 | Fine for body text |
| #BA07BA text on black | 3.82:1 | AA large text | Lc -26.6 | Dividers and decoration only |
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 600.
-
Step 50
50
#FBF2FB
oklch(97.1% 0.015 325.7)
-
Step 100
100
#F7E3F5
oklch(93.7% 0.032 329)
-
Step 200
200
#F1CBEE
oklch(88.5% 0.063 328.6)
-
Step 300
300
#E9A6E5
oklch(80.9% 0.113 328.6)
-
Step 400
400
#DB72D8
oklch(70.7% 0.18 328.3)
-
Step 500
500
#CF43CE
oklch(63.2% 0.232 328.2)
-
Step 600
600 (this color)
#BA07BA
oklch(55.5% 0.252 328.3)
-
Step 700
700
#9E009E
oklch(49.1% 0.226 328.4)
-
Step 800
800
#820382
oklch(42.7% 0.194 328.3)
-
Step 900
900
#691568
oklch(37.7% 0.151 328.6)
-
Step 950
950
#3E0F3D
oklch(27% 0.096 328.7)
#BA07BA 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) | #005CBE | 0.265 |
| Deuteranopia (no green cones) | #4B70B6 | 0.231 |
| Tritanopia (no blue cones) | #C0356D | 0.139 |
| Achromatopsia (no color) | #696969 | 0.255 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA07BA
#BA07BA
oklch(55.5% 0.252 328.3)
- #008B37
#008B37
oklch(55.5% 0.16 148.3)
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 #BA07BA, closest first.
No curated palette has a color within ΔE 0.04 of #BA07BA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.061
- Vibrant Purple #AD03DE ΔE 0.065
- Dark Orchid #9932CC ΔE 0.076
- Purply #983FB2 ΔE 0.079
- Purple Pink #D725DE ΔE 0.080
- Pinky Purple #C94CBE ΔE 0.084
- Dark Violet #9400D3 ΔE 0.092
- Hot Purple #CB00F5 ΔE 0.093
Use #BA07BA 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.