#7F4BAB
Closest named color: Purply (#983FB2). oklch(51.7% 0.152 306.9), rgb(127, 75, 171).
Aa
White text reads best on this color (6.00:1).
About this color
#7F4BAB is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.152 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.051 away. White text reads best on it, at 6.00:1.
| Hue family | Purples |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.49:1 |
| White text | 6.00:1 |
Values
| HEX | #7F4BAB |
| RGB | rgb(127, 75, 171) |
| HSL | hsl(273, 39%, 48%) |
| OKLCH | oklch(51.7% 0.152 306.9) |
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 #7F4BAB | 6.00:1 | AA | Lc -84.9 | Fine for body text |
| Black text on #7F4BAB | 3.49:1 | AA large text | Lc 24.4 | Dividers and decoration only |
| #7F4BAB text on white | 6.00:1 | AA | Lc 79.7 | Fine for body text |
| #7F4BAB text on black | 3.49:1 | AA large text | Lc -22.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
#F7F4FB
oklch(97.1% 0.01 305.4)
-
Step 100
100
#EDE6F5
oklch(93.5% 0.021 306.8)
-
Step 200
200
#E0D3EF
oklch(88.6% 0.04 306.5)
-
Step 300
300
#CDB5E6
oklch(81% 0.073 307)
-
Step 400
400
#B48CDA
oklch(70.7% 0.119 307.1)
-
Step 500
500
#A16ED0
oklch(63.1% 0.15 306.6)
-
Step 600
600
#8C54BD
oklch(55.6% 0.163 306.5)
-
Step 700
700 (this color)
#7F4BAB
oklch(51.7% 0.152 306.9)
-
Step 800
800
#613884
oklch(42.7% 0.126 306.7)
-
Step 900
900
#4F316A
oklch(37.7% 0.099 306.6)
-
Step 950
950
#2E1D3E
oklch(26.9% 0.063 306.4)
#7F4BAB 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) | #2A61AE | 0.123 |
| Deuteranopia (no green cones) | #3C63A9 | 0.110 |
| Tritanopia (no blue cones) | #785D74 | 0.109 |
| Achromatopsia (no color) | #636363 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4BAB
#7F4BAB
oklch(51.7% 0.152 306.9)
- #537500
#537500
oklch(51.7% 0.133 127.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 #7F4BAB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.051
- Deep Lavender #8D5EB7 ΔE 0.054
- Light Eggplant #894585 ΔE 0.063
- Iris #6258C4 ΔE 0.065
- Slate Blue #6A5ACD ΔE 0.068
- Light Indigo #6D5ACF ΔE 0.068
- Warm Purple #952E8F ΔE 0.075
- Bluey Purple #6241C7 ΔE 0.076
Use #7F4BAB 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.