#7E4CAD
Closest named color: Purply (#983FB2). oklch(51.9% 0.153 305.5), rgb(126, 76, 173).
Aa
White text reads best on this color (5.95:1).
About this color
#7E4CAD is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.153 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.053 away. White text reads best on it, at 5.95:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.153) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.52:1 |
| White text | 5.95:1 |
Values
| HEX | #7E4CAD |
| RGB | rgb(126, 76, 173) |
| HSL | hsl(271, 39%, 49%) |
| OKLCH | oklch(51.9% 0.153 305.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 #7E4CAD | 5.95:1 | AA | Lc -84.7 | Fine for body text |
| Black text on #7E4CAD | 3.52:1 | AA large text | Lc 24.6 | Dividers and decoration only |
| #7E4CAD text on white | 5.95:1 | AA | Lc 79.5 | Fine for body text |
| #7E4CAD text on black | 3.52:1 | AA large text | Lc -22.4 | 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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE7F6
oklch(93.7% 0.021 304)
-
Step 200
200
#DFD3EF
oklch(88.5% 0.04 304.9)
-
Step 300
300
#CCB5E7
oklch(80.9% 0.073 305.7)
-
Step 400
400
#B28DDB
oklch(70.7% 0.117 305.4)
-
Step 500
500
#A06ED1
oklch(63.1% 0.151 305.8)
-
Step 600
600
#8B54BE
oklch(55.6% 0.164 305.7)
-
Step 700
700 (this color)
#7E4CAD
oklch(51.9% 0.153 305.5)
-
Step 800
800
#603885
oklch(42.6% 0.127 305.7)
-
Step 900
900
#4E316B
oklch(37.6% 0.1 305.2)
-
Step 950
950
#2E1D3E
oklch(26.9% 0.063 306.4)
#7E4CAD 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) | #2962B0 | 0.121 |
| Deuteranopia (no green cones) | #3B64AB | 0.109 |
| Tritanopia (no blue cones) | #765E75 | 0.111 |
| Achromatopsia (no color) | #646464 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E4CAD
#7E4CAD
oklch(51.9% 0.153 305.5)
- #567500
#567500
oklch(51.9% 0.132 125.8)
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 #7E4CAD, closest first.
No curated palette has a color within ΔE 0.04 of #7E4CAD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.053
- Deep Lavender #8D5EB7 ΔE 0.053
- Iris #6258C4 ΔE 0.062
- Slate Blue #6A5ACD ΔE 0.064
- Light Indigo #6D5ACF ΔE 0.064
- Light Eggplant #894585 ΔE 0.066
- Bluey Purple #6241C7 ΔE 0.073
- Amethyst #9B5FC0 ΔE 0.075
Use #7E4CAD 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.