#7F3466
Closest named color: Light Eggplant (#894585). oklch(44.5% 0.121 342.4), rgb(127, 52, 102).
Aa
White text reads best on this color (8.12:1).
About this color
#7F3466 is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.121 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Light Eggplant (#894585), ΔE 0.060 away. White text reads best on it, at 8.12:1.
| Hue family | Purples |
| Lightness | dark (45%) |
| Chroma | moderately saturated (0.121) |
| Temperature | warm |
| Nearest name | Light Eggplant (#894585) |
| Black text | 2.58:1 |
| White text | 8.12:1 |
Values
| HEX | #7F3466 |
| RGB | rgb(127, 52, 102) |
| HSL | hsl(320, 42%, 35%) |
| OKLCH | oklch(44.5% 0.121 342.4) |
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 #7F3466 | 8.12:1 | AAA | Lc -92.3 | Preferred for body text |
| Black text on #7F3466 | 2.58:1 | Fails | Lc 16.4 | Dividers and decoration only |
| #7F3466 text on white | 8.12:1 | AAA | Lc 87.6 | Fine for body text |
| #7F3466 text on black | 2.58:1 | Fails | Lc -14.6 | 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
#FAF3F7
oklch(97.1% 0.009 341.8)
-
Step 100
100
#F4E5EE
oklch(93.6% 0.02 340.7)
-
Step 200
200
#EDCFE0
oklch(88.4% 0.04 342.9)
-
Step 300
300
#E2AFCD
oklch(80.9% 0.071 342.7)
-
Step 400
400
#D184B4
oklch(70.8% 0.112 342.4)
-
Step 500
500
#C362A1
oklch(63.1% 0.145 342.4)
-
Step 600
600
#AE478C
oklch(55.6% 0.156 342.4)
-
Step 700
700
#953777
oklch(49% 0.146 342.2)
-
Step 800
800 (this color)
#7F3466
oklch(44.5% 0.121 342.4)
-
Step 900
900
#622A4F
oklch(37.6% 0.095 342.3)
-
Step 950
950
#3A192E
oklch(27% 0.061 343)
#7F3466 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) | #394868 | 0.129 |
| Deuteranopia (no green cones) | #4F5464 | 0.115 |
| Tritanopia (no blue cones) | #863448 | 0.052 |
| Achromatopsia (no color) | #505050 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F3466
#7F3466
oklch(44.5% 0.121 342.4)
- #006443
#006443
oklch(44.5% 0.097 162.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 #7F3466, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Eggplant #894585 ΔE 0.060
- Brownish Purple #76424E ΔE 0.061
- Dark Mauve #874C62 ΔE 0.065
- Mulberry #920A4E ΔE 0.065
- Red Purple #820747 ΔE 0.070
- Berry #990F4B ΔE 0.072
- Dark Fuchsia #9D0759 ΔE 0.073
- Velvet #750851 ΔE 0.076
Use #7F3466 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.