#7E3487
Closest named color: Warm Purple (#952E8F). oklch(46.1% 0.149 323.2), rgb(126, 52, 135).
Aa
White text reads best on this color (7.69:1).
About this color
#7E3487 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.149 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.047 away. White text reads best on it, at 7.69:1.
| Hue family | Purples |
| Lightness | medium-dark (46%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 2.72:1 |
| White text | 7.69:1 |
Values
| HEX | #7E3487 |
| RGB | rgb(126, 52, 135) |
| HSL | hsl(293, 44%, 37%) |
| OKLCH | oklch(46.1% 0.149 323.2) |
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 #7E3487 | 7.69:1 | AAA | Lc -90.9 | Preferred for body text |
| Black text on #7E3487 | 2.72:1 | Fails | Lc 17.9 | Dividers and decoration only |
| #7E3487 text on white | 7.69:1 | AAA | Lc 86.1 | Fine for body text |
| #7E3487 text on black | 2.72:1 | Fails | Lc -15.9 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F1E5F2
oklch(93.5% 0.022 323.4)
-
Step 200
200
#E7D1E9
oklch(88.6% 0.04 323.3)
-
Step 300
300
#D8B1DC
oklch(80.8% 0.073 323.2)
-
Step 400
400
#C387CA
oklch(70.6% 0.116 323.1)
-
Step 500
500
#B367BC
oklch(63% 0.148 323.2)
-
Step 600
600
#9E4DA8
oklch(55.6% 0.159 323.1)
-
Step 700
700 (this color)
#7E3487
oklch(46.1% 0.149 323.2)
-
Step 800
800
#6E3375
oklch(42.7% 0.123 323.3)
-
Step 900
900
#592E5F
oklch(37.8% 0.095 322.6)
-
Step 950
950
#341B37
oklch(26.9% 0.06 323.1)
#7E3487 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) | #254D8A | 0.147 |
| Deuteranopia (no green cones) | #405685 | 0.128 |
| Tritanopia (no blue cones) | #804058 | 0.089 |
| Achromatopsia (no color) | #535353 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E3487
#7E3487
oklch(46.1% 0.149 323.2)
- #096C10
#096C10
oklch(46.2% 0.149 143.2)
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 #7E3487, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.047
- Light Eggplant #894585 ΔE 0.047
- Rebecca Purple #663399 ΔE 0.058
- Dark Magenta #8B008B ΔE 0.060
- Purple #800080 ΔE 0.062
- Purply #983FB2 ΔE 0.085
- Red Violet #9E0168 ΔE 0.089
- Muted Purple #805B87 ΔE 0.095
Use #7E3487 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.