#7F34B0
Closest named color: Purply (#983FB2). oklch(48.9% 0.19 308.6), rgb(127, 52, 176).
Aa
White text reads best on this color (6.95:1).
About this color
#7F34B0 is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.190 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.056 away. White text reads best on it, at 6.95:1.
| Hue family | Purples |
| Lightness | medium-dark (49%) |
| Chroma | vivid (0.190) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.02:1 |
| White text | 6.95:1 |
Values
| HEX | #7F34B0 |
| RGB | rgb(127, 52, 176) |
| HSL | hsl(276, 54%, 45%) |
| OKLCH | oklch(48.9% 0.19 308.6) |
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 #7F34B0 | 6.95:1 | AA | Lc -88.3 | Fine for body text |
| Black text on #7F34B0 | 3.02:1 | AA large text | Lc 20.8 | Dividers and decoration only |
| #7F34B0 text on white | 6.95:1 | AA | Lc 83.3 | Fine for body text |
| #7F34B0 text on black | 3.02:1 | AA large text | Lc -18.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
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#EFE5F8
oklch(93.5% 0.027 309.2)
-
Step 200
200
#E3D1F4
oklch(88.6% 0.051 308.4)
-
Step 300
300
#D2B1EF
oklch(81% 0.092 308.6)
-
Step 400
400
#BB85E6
oklch(70.7% 0.147 308.7)
-
Step 500
500
#AA62DF
oklch(63.1% 0.189 308.5)
-
Step 600
600
#9644CC
oklch(55.6% 0.205 308.9)
-
Step 700
700 (this color)
#7F34B0
oklch(48.9% 0.19 308.6)
-
Step 800
800
#682D8F
oklch(42.7% 0.158 308.8)
-
Step 900
900
#542A72
oklch(37.7% 0.123 308.5)
-
Step 950
950
#311A43
oklch(27.1% 0.077 308)
#7F34B0 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) | #0057B4 | 0.158 |
| Deuteranopia (no green cones) | #175AAD | 0.154 |
| Tritanopia (no blue cones) | #78506E | 0.133 |
| Achromatopsia (no color) | #595959 | 0.192 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F34B0
#7F34B0
oklch(48.9% 0.19 308.6)
- #496D00
#496D00
oklch(48.9% 0.129 128.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 #7F34B0, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.056
- Grape #7209B7 ΔE 0.059
- Rebecca Purple #663399 ΔE 0.060
- Dark Orchid #9932CC ΔE 0.064
- Bluey Purple #6241C7 ΔE 0.069
- Warm Purple #952E8F ΔE 0.071
- Dark Violet #9400D3 ΔE 0.075
- Blue Violet #8A2BE2 ΔE 0.079
Use #7F34B0 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.