#7C40BF
Closest named color: Bluey Purple (#6241C7). oklch(51.1% 0.19 301.7), rgb(124, 64, 191).
Aa
White text reads best on this color (6.28:1).
About this color
#7C40BF is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.190 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.049 away. White text reads best on it, at 6.28:1.
| Hue family | Purples |
| Lightness | medium-dark (51%) |
| Chroma | vivid (0.190) |
| Temperature | in between |
| Nearest name | Bluey Purple (#6241C7) |
| Black text | 3.34:1 |
| White text | 6.28:1 |
Values
| HEX | #7C40BF |
| RGB | rgb(124, 64, 191) |
| HSL | hsl(268, 50%, 50%) |
| OKLCH | oklch(51.1% 0.19 301.7) |
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 #7C40BF | 6.28:1 | AA | Lc -85.8 | Fine for body text |
| Black text on #7C40BF | 3.34:1 | AA large text | Lc 23.4 | Dividers and decoration only |
| #7C40BF text on white | 6.28:1 | AA | Lc 80.7 | Fine for body text |
| #7C40BF text on black | 3.34:1 | AA large text | Lc -21.2 | 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
#F7F4FD
oklch(97.2% 0.012 301.3)
-
Step 100
100
#EDE6F9
oklch(93.6% 0.026 302.6)
-
Step 200
200
#DFD2F6
oklch(88.5% 0.051 301.8)
-
Step 300
300
#CBB3F3
oklch(80.9% 0.092 301.5)
-
Step 400
400
#B288ED
oklch(70.7% 0.149 301.9)
-
Step 500
500
#9F67E7
oklch(63.1% 0.188 301.4)
-
Step 600
600
#8B49D5
oklch(55.6% 0.206 301.7)
-
Step 700
700 (this color)
#7C40BF
oklch(51.1% 0.19 301.7)
-
Step 800
800
#603195
oklch(42.7% 0.157 301.6)
-
Step 900
900
#4E2D77
oklch(37.8% 0.122 301.3)
-
Step 950
950
#2E1B46
oklch(27.1% 0.079 301.8)
#7C40BF 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) | #005FC3 | 0.141 |
| Deuteranopia (no green cones) | #005FBC | 0.143 |
| Tritanopia (no blue cones) | #6E5D7A | 0.142 |
| Achromatopsia (no color) | #606060 | 0.192 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7C40BF
#7C40BF
oklch(51.1% 0.19 301.7)
- #5B7100
#5B7100
oklch(51.2% 0.124 122.1)
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 #7C40BF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bluey Purple #6241C7 ΔE 0.049
- Purply #983FB2 ΔE 0.058
- Dark Orchid #9932CC ΔE 0.059
- Light Indigo #6D5ACF ΔE 0.062
- Slate Blue #6A5ACD ΔE 0.063
- Blue Violet #8A2BE2 ΔE 0.064
- Iris #6258C4 ΔE 0.064
- Burple #6832E3 ΔE 0.074
Use #7C40BF 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.