#B240CA
Closest named color: Medium Orchid (#BA55D3). oklch(58.6% 0.219 320.1), rgb(178, 64, 202).
Aa
White text reads best on this color (4.68:1).
About this color
#B240CA is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.219 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.043 away. White text reads best on it, at 4.68:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.219) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.47:1 |
| White text | 4.68:1 |
Values
| HEX | #B240CA |
| RGB | rgb(178, 64, 202) |
| HSL | hsl(290, 57%, 52%) |
| OKLCH | oklch(58.6% 0.219 320.1) |
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 #B240CA | 4.68:1 | AA | Lc -77.1 | Fine for body text |
| Black text on #B240CA | 4.47:1 | AA large text | Lc 32.5 | Non-text elements, placeholder text |
| #B240CA text on white | 4.68:1 | AA | Lc 71.6 | Content text, not long reading |
| #B240CA text on black | 4.47:1 | AA large text | Lc -30.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 600.
-
Step 50
50
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F3E4F6
oklch(93.6% 0.029 320.6)
-
Step 200
200
#EACEF0
oklch(88.5% 0.055 320.3)
-
Step 300
300
#DDACE8
oklch(80.8% 0.098 320.1)
-
Step 400
400
#CB7DDD
oklch(70.7% 0.158 319.9)
-
Step 500
500
#BD57D3
oklch(63.2% 0.201 320.2)
-
Step 600
600 (this color)
#B240CA
oklch(58.6% 0.219 320.1)
-
Step 700
700
#9025A6
oklch(49.1% 0.204 320)
-
Step 800
800
#752286
oklch(42.7% 0.168 320.2)
-
Step 900
900
#5F236B
oklch(37.7% 0.131 320.6)
-
Step 950
950
#38163F
oklch(27.1% 0.083 320.5)
#B240CA 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) | #036CCE | 0.221 |
| Deuteranopia (no green cones) | #4C78C7 | 0.188 |
| Tritanopia (no blue cones) | #B35980 | 0.135 |
| Achromatopsia (no color) | #747474 | 0.220 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B240CA
#B240CA
oklch(58.6% 0.219 320.1)
- #2A9500
#2A9500
oklch(58.6% 0.19 140.2)
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 #B240CA, closest first.
No curated palette has a color within ΔE 0.04 of #B240CA.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.043
- Purpley Pink #C83CB9 ΔE 0.051
- Dark Orchid #9932CC ΔE 0.057
- Pinky Purple #C94CBE ΔE 0.058
- Purply #983FB2 ΔE 0.060
- Vibrant Purple #AD03DE ΔE 0.065
- Amethyst #9B5FC0 ΔE 0.071
- Purple Pink #D725DE ΔE 0.076
Use #B240CA 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.