#7F41A2
Closest named color: Purply (#983FB2). oklch(49.6% 0.157 311.5), rgb(127, 65, 162).
Aa
White text reads best on this color (6.60:1).
About this color
#7F41A2 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.157 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.053 away. White text reads best on it, at 6.60:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.18:1 |
| White text | 6.60:1 |
Values
| HEX | #7F41A2 |
| RGB | rgb(127, 65, 162) |
| HSL | hsl(278, 43%, 45%) |
| OKLCH | oklch(49.6% 0.157 311.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 #7F41A2 | 6.60:1 | AA | Lc -87.3 | Fine for body text |
| Black text on #7F41A2 | 3.18:1 | AA large text | Lc 21.8 | Dividers and decoration only |
| #7F41A2 text on white | 6.60:1 | AA | Lc 82.2 | Fine for body text |
| #7F41A2 text on black | 3.18:1 | AA large text | Lc -19.7 | 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
#F8F4FB
oklch(97.2% 0.01 311.2)
-
Step 100
100
#EFE6F5
oklch(93.6% 0.022 312.2)
-
Step 200
200
#E2D2EE
oklch(88.5% 0.042 310.9)
-
Step 300
300
#D1B3E5
oklch(80.9% 0.076 311.7)
-
Step 400
400
#B98AD8
oklch(70.7% 0.121 311.2)
-
Step 500
500
#A86ACD
oklch(63.1% 0.156 311.6)
-
Step 600
600
#934FBA
oklch(55.5% 0.17 311.4)
-
Step 700
700 (this color)
#7F41A2
oklch(49.6% 0.157 311.5)
-
Step 800
800
#663582
oklch(42.7% 0.13 311.5)
-
Step 900
900
#532F68
oklch(37.7% 0.101 311.6)
-
Step 950
950
#311C3D
oklch(27% 0.065 312.1)
#7F41A2 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) | #1F5AA5 | 0.139 |
| Deuteranopia (no green cones) | #395EA0 | 0.122 |
| Tritanopia (no blue cones) | #7B536B | 0.109 |
| Achromatopsia (no color) | #5D5D5D | 0.158 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F41A2
#7F41A2
oklch(49.6% 0.157 311.5)
- #447100
#447100
oklch(49.6% 0.137 131.6)
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 #7F41A2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.053
- Light Eggplant #894585 ΔE 0.054
- Warm Purple #952E8F ΔE 0.058
- Rebecca Purple #663399 ΔE 0.061
- Deep Lavender #8D5EB7 ΔE 0.077
- Bluey Purple #6241C7 ΔE 0.081
- Dark Orchid #9932CC ΔE 0.083
- Iris #6258C4 ΔE 0.083
Use #7F41A2 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.