#7F307B
Closest named color: Light Eggplant (#894585). oklch(45.1% 0.144 329.7), rgb(127, 48, 123).
Aa
White text reads best on this color (8.04:1).
About this color
#7F307B is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.144 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.052 away. White text reads best on it, at 8.04:1.
| Hue family | Purples |
| Lightness | medium-dark (45%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.61:1 |
| White text | 8.04:1 |
Values
| HEX | #7F307B |
| RGB | rgb(127, 48, 123) |
| HSL | hsl(303, 45%, 34%) |
| OKLCH | oklch(45.1% 0.144 329.7) |
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 #7F307B | 8.04:1 | AAA | Lc -91.9 | Preferred for body text |
| Black text on #7F307B | 2.61:1 | Fails | Lc 16.8 | Dividers and decoration only |
| #7F307B text on white | 8.04:1 | AAA | Lc 87.2 | Fine for body text |
| #7F307B text on black | 2.61:1 | Fails | Lc -14.9 | Not readable |
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 800.
-
Step 50
50
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F4E4F2
oklch(93.6% 0.025 329.7)
-
Step 200
200
#ECCFE8
oklch(88.6% 0.046 330.5)
-
Step 300
300
#E0ADDB
oklch(80.8% 0.085 329.6)
-
Step 400
400
#CF80C9
oklch(70.7% 0.135 329.6)
-
Step 500
500
#C15CBB
oklch(63.1% 0.174 329.7)
-
Step 600
600
#AC3EA7
oklch(55.6% 0.189 329.6)
-
Step 700
700
#932F8F
oklch(49% 0.175 329.5)
-
Step 800
800 (this color)
#7F307B
oklch(45.1% 0.144 329.7)
-
Step 900
900
#61275E
oklch(37.8% 0.112 329.6)
-
Step 950
950
#391837
oklch(27.1% 0.071 329.6)
#7F307B 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) | #2A497D | 0.148 |
| Deuteranopia (no green cones) | #445479 | 0.130 |
| Tritanopia (no blue cones) | #833851 | 0.078 |
| Achromatopsia (no color) | #505050 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F307B
#7F307B
oklch(45.1% 0.144 329.7)
- #00682C
#00682C
oklch(45.2% 0.125 149.7)
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 #7F307B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.052
- Warm Purple #952E8F ΔE 0.053
- Purple #800080 ΔE 0.057
- Dark Magenta #8B008B ΔE 0.061
- Rebecca Purple #663399 ΔE 0.072
- Red Violet #9E0168 ΔE 0.076
- Dark Fuchsia #9D0759 ΔE 0.085
- Mulberry #920A4E ΔE 0.085
Use #7F307B 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.