#7D5EA2
Closest named color: Dark Lavender (#856798). oklch(54.2% 0.108 304), rgb(125, 94, 162).
Aa
White text reads best on this color (5.25:1).
About this color
#7D5EA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.108 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.036 away. White text reads best on it, at 5.25:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 3.99:1 |
| White text | 5.25:1 |
Values
| HEX | #7D5EA2 |
| RGB | rgb(125, 94, 162) |
| HSL | hsl(267, 27%, 50%) |
| OKLCH | oklch(54.2% 0.108 304) |
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 #7D5EA2 | 5.25:1 | AA | Lc -81.3 | Fine for body text |
| Black text on #7D5EA2 | 3.99:1 | AA large text | Lc 28.1 | Dividers and decoration only |
| #7D5EA2 text on white | 5.25:1 | AA | Lc 76.0 | Fine for body text |
| #7D5EA2 text on black | 3.99:1 | AA large text | Lc -25.7 | 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 600.
-
Step 50
50
#F6F4F9
oklch(97% 0.007 304.2)
-
Step 100
100
#ECE8F2
oklch(93.7% 0.014 304.1)
-
Step 200
200
#DDD5E8
oklch(88.5% 0.027 304.8)
-
Step 300
300
#C7B9DB
oklch(80.8% 0.05 304)
-
Step 400
400
#AB95C9
oklch(70.8% 0.078 303.8)
-
Step 500
500
#977ABA
oklch(63.1% 0.099 304.5)
-
Step 600
600 (this color)
#7D5EA2
oklch(54.2% 0.108 304)
-
Step 700
700
#6D518F
oklch(49.1% 0.101 303.7)
-
Step 800
800
#594374
oklch(42.8% 0.083 303.8)
-
Step 900
900
#49385E
oklch(37.6% 0.066 304)
-
Step 950
950
#2B2137
oklch(27% 0.042 304.6)
#7D5EA2 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) | #4D6BA5 | 0.074 |
| Deuteranopia (no green cones) | #546CA0 | 0.069 |
| Tritanopia (no blue cones) | #776978 | 0.082 |
| Achromatopsia (no color) | #6C6C6C | 0.109 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7D5EA2
#7D5EA2
oklch(54.2% 0.108 304)
- #62792B
#62792B
oklch(54.1% 0.108 123.9)
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 #7D5EA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.036
- Muted Purple #805B87 ΔE 0.042
- Deep Lavender #8D5EB7 ΔE 0.043
- Dusty Purple #825F87 ΔE 0.045
- Dull Purple #84597E ΔE 0.057
- Grey Purple #826D8C ΔE 0.062
- Faded Purple #916E99 ΔE 0.062
- Dusky Purple #895B7B ΔE 0.064
Use #7D5EA2 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.