#BA42D2
Closest named color: Medium Orchid (#BA55D3). oklch(60.4% 0.227 320.5), rgb(186, 66, 210).
Aa
Black text reads best on this color (4.79:1).
About this color
#BA42D2 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.227 and its hue 320°. 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 4.79:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.227) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.79:1 |
| White text | 4.37:1 |
Values
| HEX | #BA42D2 |
| RGB | rgb(186, 66, 210) |
| HSL | hsl(290, 62%, 54%) |
| OKLCH | oklch(60.4% 0.227 320.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 #BA42D2 | 4.37:1 | AA large text | Lc -74.9 | Content text, not long reading |
| Black text on #BA42D2 | 4.79:1 | AA | Lc 34.7 | Non-text elements, placeholder text |
| #BA42D2 text on white | 4.37:1 | AA large text | Lc 69.4 | Content text, not long reading |
| #BA42D2 text on black | 4.79:1 | AA | Lc -32.3 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F7
oklch(93.5% 0.032 321.1)
-
Step 200
200
#ECCDF3
oklch(88.6% 0.061 320)
-
Step 300
300
#E1A9ED
oklch(80.9% 0.111 320.3)
-
Step 400
400
#D177E3
oklch(70.7% 0.177 320.8)
-
Step 500
500 (this color)
#BA42D2
oklch(60.4% 0.227 320.5)
-
Step 600
600
#AE21C8
oklch(55.5% 0.246 320.5)
-
Step 700
700
#960CAD
oklch(49.1% 0.229 320.7)
-
Step 800
800
#7A138C
oklch(42.7% 0.19 320.8)
-
Step 900
900
#621B70
oklch(37.6% 0.148 320.5)
-
Step 950
950
#3A1242
oklch(27% 0.094 320.6)
#BA42D2 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) | #0070D6 | 0.230 |
| Deuteranopia (no green cones) | #507DCF | 0.195 |
| Tritanopia (no blue cones) | #BB5C85 | 0.139 |
| Achromatopsia (no color) | #797979 | 0.228 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA42D2
#BA42D2
oklch(60.4% 0.227 320.5)
- #299B00
#299B00
oklch(60.3% 0.196 140.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 #BA42D2, closest first.
No curated palette has a color within ΔE 0.04 of #BA42D2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.033
- Purpley Pink #C83CB9 ΔE 0.048
- Pinky Purple #C94CBE ΔE 0.050
- Purple Pink #D725DE ΔE 0.061
- Vibrant Purple #AD03DE ΔE 0.069
- Dark Orchid #9932CC ΔE 0.072
- Lighter Purple #A55AF4 ΔE 0.073
- Hot Purple #CB00F5 ΔE 0.075
Use #BA42D2 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.