#7E71C3
Closest named color: Deep Lilac (#966EBD). oklch(59.6% 0.123 289.4), rgb(126, 113, 195).
Aa
Black text reads best on this color (5.03:1).
About this color
#7E71C3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.123 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.039 away. Black text reads best on it, at 5.03:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.123) |
| Temperature | cool |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.03:1 |
| White text | 4.16:1 |
Values
| HEX | #7E71C3 |
| RGB | rgb(126, 113, 195) |
| HSL | hsl(250, 41%, 60%) |
| OKLCH | oklch(59.6% 0.123 289.4) |
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 #7E71C3 | 4.16:1 | AA large text | Lc -74.1 | Content text, not long reading |
| Black text on #7E71C3 | 5.03:1 | AA | Lc 35.5 | Non-text elements, placeholder text |
| #7E71C3 text on white | 4.16:1 | AA large text | Lc 68.6 | Content text, not long reading |
| #7E71C3 text on black | 5.03:1 | AA | Lc -33.1 | 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
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E9E8F5
oklch(93.6% 0.017 289.6)
-
Step 200
200
#D8D6EE
oklch(88.5% 0.033 289.5)
-
Step 300
300
#BFBBE6
oklch(81% 0.06 289.2)
-
Step 400
400
#9F97D9
oklch(70.8% 0.096 289.3)
-
Step 500
500 (this color)
#7E71C3
oklch(59.6% 0.123 289.4)
-
Step 600
600
#7363BB
oklch(55.6% 0.133 289.7)
-
Step 700
700
#6052A2
oklch(49.1% 0.124 289)
-
Step 800
800
#4F4383
oklch(42.7% 0.103 289.9)
-
Step 900
900
#413969
oklch(37.7% 0.081 289.6)
-
Step 950
950
#26223D
oklch(27% 0.049 289.5)
#7E71C3 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) | #567EC6 | 0.059 |
| Deuteranopia (no green cones) | #577AC1 | 0.055 |
| Tritanopia (no blue cones) | #6D8190 | 0.104 |
| Achromatopsia (no color) | #7C7C7C | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E71C3
#7E71C3
oklch(59.6% 0.123 289.4)
- #858416
#858416
oklch(59.5% 0.122 109)
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 #7E71C3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.039
- Medium Purple #9370DB ΔE 0.050
- Deep Lavender #8D5EB7 ΔE 0.051
- Amethyst #9B5FC0 ΔE 0.060
- Dark Lilac #9C6DA5 ΔE 0.065
- Dark Lavender #856798 ΔE 0.066
- Dark Periwinkle #665FD1 ΔE 0.067
- Soft Purple #A66FB5 ΔE 0.068
Use #7E71C3 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.