#BA45C7
Closest named color: Medium Orchid (#BA55D3). oklch(60.1% 0.213 323.6), rgb(186, 69, 199).
Aa
Black text reads best on this color (4.76:1).
About this color
#BA45C7 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.213 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.032 away. Black text reads best on it, at 4.76:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.213) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.76:1 |
| White text | 4.40:1 |
Values
| HEX | #BA45C7 |
| RGB | rgb(186, 69, 199) |
| HSL | hsl(294, 54%, 53%) |
| OKLCH | oklch(60.1% 0.213 323.6) |
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 #BA45C7 | 4.40:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #BA45C7 | 4.76:1 | AA | Lc 34.4 | Non-text elements, placeholder text |
| #BA45C7 text on white | 4.40:1 | AA large text | Lc 69.7 | Content text, not long reading |
| #BA45C7 text on black | 4.76:1 | AA | Lc -32.0 | 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
#FAF2FB
oklch(97% 0.015 322.3)
-
Step 100
100
#F4E3F6
oklch(93.5% 0.031 322.6)
-
Step 200
200
#EDCDEF
oklch(88.5% 0.057 324.2)
-
Step 300
300
#E2AAE7
oklch(80.9% 0.104 323.7)
-
Step 400
400
#D279DB
oklch(70.8% 0.166 323.7)
-
Step 500
500 (this color)
#BA45C7
oklch(60.1% 0.213 323.6)
-
Step 600
600
#AF29BE
oklch(55.5% 0.232 323.4)
-
Step 700
700
#9718A4
oklch(49.2% 0.216 323.7)
-
Step 800
800
#7A1985
oklch(42.6% 0.179 323.4)
-
Step 900
900
#631E6A
oklch(37.7% 0.139 323.9)
-
Step 950
950
#3A133E
oklch(26.9% 0.088 323.9)
#BA45C7 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) | #276FCB | 0.217 |
| Deuteranopia (no green cones) | #5A7DC4 | 0.186 |
| Tritanopia (no blue cones) | #BD5A80 | 0.127 |
| Achromatopsia (no color) | #787878 | 0.215 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA45C7
#BA45C7
oklch(60.1% 0.213 323.6)
- #009C19
#009C19
oklch(60.1% 0.197 143.6)
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 #BA45C7, closest first.
No curated palette has a color within ΔE 0.04 of #BA45C7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.032
- Purpley Pink #C83CB9 ΔE 0.035
- Pinky Purple #C94CBE ΔE 0.038
- Purple Pink #D725DE ΔE 0.069
- Amethyst #9B5FC0 ΔE 0.072
- Purply #983FB2 ΔE 0.073
- Dark Orchid #9932CC ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.082
Use #BA45C7 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.