#7F3CB5
Closest named color: Purply (#983FB2). oklch(50.2% 0.185 306.2), rgb(127, 60, 181).
Aa
White text reads best on this color (6.52:1).
About this color
#7F3CB5 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.185 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 6.52:1.
| Hue family | Purples |
| Lightness | medium-dark (50%) |
| Chroma | vivid (0.185) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.21:1 |
| White text | 6.52:1 |
Values
| HEX | #7F3CB5 |
| RGB | rgb(127, 60, 181) |
| HSL | hsl(273, 50%, 47%) |
| OKLCH | oklch(50.2% 0.185 306.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 #7F3CB5 | 6.52:1 | AA | Lc -86.8 | Fine for body text |
| Black text on #7F3CB5 | 3.21:1 | AA large text | Lc 22.3 | Dividers and decoration only |
| #7F3CB5 text on white | 6.52:1 | AA | Lc 81.7 | Fine for body text |
| #7F3CB5 text on black | 3.21:1 | AA large text | Lc -20.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
#F7F3FC
oklch(97% 0.013 306)
-
Step 100
100
#EEE6F8
oklch(93.6% 0.025 305.8)
-
Step 200
200
#E1D1F4
oklch(88.4% 0.05 306)
-
Step 300
300
#CFB2EF
oklch(80.9% 0.09 306.1)
-
Step 400
400
#B787E7
oklch(70.7% 0.144 306.1)
-
Step 500
500
#A665DF
oklch(63.1% 0.184 306.5)
-
Step 600
600
#9148CD
oklch(55.6% 0.2 306.1)
-
Step 700
700 (this color)
#7F3CB5
oklch(50.2% 0.185 306.2)
-
Step 800
800
#64308F
oklch(42.6% 0.153 306.1)
-
Step 900
900
#522C73
oklch(37.8% 0.12 306.2)
-
Step 950
950
#301B43
oklch(27.1% 0.075 306.3)
#7F3CB5 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) | #005BB9 | 0.151 |
| Deuteranopia (no green cones) | #1C5EB2 | 0.144 |
| Tritanopia (no blue cones) | #765673 | 0.132 |
| Achromatopsia (no color) | #5E5E5E | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F3CB5
#7F3CB5
oklch(50.2% 0.185 306.2)
- #517000
#517000
oklch(50.2% 0.128 126.3)
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 #7F3CB5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.050
- Dark Orchid #9932CC ΔE 0.060
- Bluey Purple #6241C7 ΔE 0.061
- Rebecca Purple #663399 ΔE 0.068
- Grape #7209B7 ΔE 0.071
- Blue Violet #8A2BE2 ΔE 0.074
- Iris #6258C4 ΔE 0.076
- Light Indigo #6D5ACF ΔE 0.077
Use #7F3CB5 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.