#7F5DA0
Closest named color: Dark Lavender (#856798). oklch(54.1% 0.108 306.5), rgb(127, 93, 160).
Aa
White text reads best on this color (5.28:1).
About this color
#7F5DA0 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.108 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.035 away. White text reads best on it, at 5.28:1.
| Hue family | Purples |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 3.97:1 |
| White text | 5.28:1 |
Values
| HEX | #7F5DA0 |
| RGB | rgb(127, 93, 160) |
| HSL | hsl(270, 26%, 50%) |
| OKLCH | oklch(54.1% 0.108 306.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 #7F5DA0 | 5.28:1 | AA | Lc -81.5 | Fine for body text |
| Black text on #7F5DA0 | 3.97:1 | AA large text | Lc 27.9 | Dividers and decoration only |
| #7F5DA0 text on white | 5.28:1 | AA | Lc 76.1 | Fine for body text |
| #7F5DA0 text on black | 3.97:1 | AA large text | Lc -25.6 | 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
#ECE8F1
oklch(93.7% 0.013 306)
-
Step 200
200
#DDD5E8
oklch(88.5% 0.027 304.8)
-
Step 300
300
#C8B9DA
oklch(80.9% 0.049 305.9)
-
Step 400
400
#AD94C7
oklch(70.7% 0.078 306.8)
-
Step 500
500
#9979B9
oklch(63.1% 0.1 306.7)
-
Step 600
600 (this color)
#7F5DA0
oklch(54.1% 0.108 306.5)
-
Step 700
700
#6F508D
oklch(49% 0.1 306.5)
-
Step 800
800
#5B4273
oklch(42.8% 0.084 306.7)
-
Step 900
900
#4A385D
oklch(37.7% 0.065 305.8)
-
Step 950
950
#2C2136
oklch(27% 0.041 307.8)
#7F5DA0 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) | #4E6AA2 | 0.077 |
| Deuteranopia (no green cones) | #566C9E | 0.071 |
| Tritanopia (no blue cones) | #7A6877 | 0.080 |
| Achromatopsia (no color) | #6C6C6C | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F5DA0
#7F5DA0
oklch(54.1% 0.108 306.5)
- #5F7A2E
#5F7A2E
oklch(54.1% 0.108 126.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 #7F5DA0, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.035
- Muted Purple #805B87 ΔE 0.039
- Dusty Purple #825F87 ΔE 0.042
- Deep Lavender #8D5EB7 ΔE 0.043
- Dull Purple #84597E ΔE 0.053
- Dusky Purple #895B7B ΔE 0.060
- Faded Purple #916E99 ΔE 0.061
- Grey Purple #826D8C ΔE 0.061
Use #7F5DA0 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.