#7B40CF
Closest named color: Bluey Purple (#6241C7). oklch(52.2% 0.208 297.6), rgb(123, 64, 207).
Aa
White text reads best on this color (6.04:1).
About this color
#7B40CF is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.208 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.046 away. White text reads best on it, at 6.04:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.208) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.47:1 |
| White text | 6.04:1 |
Values
| HEX | #7B40CF |
| RGB | rgb(123, 64, 207) |
| HSL | hsl(265, 60%, 53%) |
| OKLCH | oklch(52.2% 0.208 297.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 #7B40CF | 6.04:1 | AA | Lc -84.7 | Fine for body text |
| Black text on #7B40CF | 3.47:1 | AA large text | Lc 24.6 | Dividers and decoration only |
| #7B40CF text on white | 6.04:1 | AA | Lc 79.5 | Fine for body text |
| #7B40CF text on black | 3.47:1 | AA large text | Lc -22.3 | 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 700.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#ECE6FB
oklch(93.6% 0.029 298.9)
-
Step 200
200
#DDD2FA
oklch(88.5% 0.056 297.8)
-
Step 300
300
#C8B3FA
oklch(80.9% 0.101 297.7)
-
Step 400
400
#AD88F7
oklch(70.7% 0.16 297.5)
-
Step 500
500
#9A65F3
oklch(63.1% 0.205 297.4)
-
Step 600
600
#8645E2
oklch(55.5% 0.224 297.5)
-
Step 700
700 (this color)
#7B40CF
oklch(52.2% 0.208 297.6)
-
Step 800
800
#5D2E9F
oklch(42.8% 0.172 297.6)
-
Step 900
900
#4C2B7E
oklch(37.7% 0.134 297.9)
-
Step 950
950
#2C1A4A
oklch(27% 0.086 297.6)
#7B40CF 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) | #0063D3 | 0.137 |
| Deuteranopia (no green cones) | #0061CC | 0.137 |
| Tritanopia (no blue cones) | #666383 | 0.159 |
| Achromatopsia (no color) | #636363 | 0.209 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B40CF
#7B40CF
oklch(52.2% 0.208 297.6)
- #657200
#657200
oklch(52.3% 0.121 117.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 #7B40CF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.046
- Blue Violet #8A2BE2 ΔE 0.046
- Burple #6832E3 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.056
- Slate Blue #6A5ACD ΔE 0.058
- Purpley #8756E4 ΔE 0.059
- Dark Orchid #9932CC ΔE 0.059
- Iris #6258C4 ΔE 0.064
Use #7B40CF 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.