#7F6DE5
Closest named color: Medium Slate Blue (#7B68EE). oklch(61% 0.175 286.9), rgb(127, 109, 229).
Aa
Black text reads best on this color (5.22:1).
About this color
#7F6DE5 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.175 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.020 away. Black text reads best on it, at 5.22:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.175) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.22:1 |
| White text | 4.02:1 |
Values
| HEX | #7F6DE5 |
| RGB | rgb(127, 109, 229) |
| HSL | hsl(249, 70%, 66%) |
| OKLCH | oklch(61% 0.175 286.9) |
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 #7F6DE5 | 4.02:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #7F6DE5 | 5.22:1 | AA | Lc 36.8 | Non-text elements, placeholder text |
| #7F6DE5 text on white | 4.02:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #7F6DE5 text on black | 5.22:1 | AA | Lc -34.4 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E8E8FA
oklch(93.6% 0.024 285.9)
-
Step 200
200
#D6D5F8
oklch(88.5% 0.048 286.7)
-
Step 300
300
#BCB9F6
oklch(81% 0.086 286.6)
-
Step 400
400
#9B92F1
oklch(70.7% 0.137 286.7)
-
Step 500
500 (this color)
#7F6DE5
oklch(61% 0.175 286.9)
-
Step 600
600
#7058DA
oklch(55.5% 0.19 286.9)
-
Step 700
700
#5E47BE
oklch(49% 0.178 286.7)
-
Step 800
800
#4D3C99
oklch(42.8% 0.145 286.9)
-
Step 900
900
#3F347A
oklch(37.6% 0.115 286.7)
-
Step 950
950
#251F47
oklch(26.9% 0.072 287.4)
#7F6DE5 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) | #3382E9 | 0.091 |
| Deuteranopia (no green cones) | #317BE2 | 0.090 |
| Tritanopia (no blue cones) | #5F879F | 0.147 |
| Achromatopsia (no color) | #7F7F7F | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F6DE5
#7F6DE5
oklch(61% 0.175 286.9)
- #8D8800
#8D8800
oklch(61.1% 0.131 107.1)
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 #7F6DE5, closest first.
No curated palette has a color within ΔE 0.04 of #7F6DE5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.020
- Medium Purple #9370DB ΔE 0.037
- Cornflower #6A79F7 ΔE 0.044
- Purpley #8756E4 ΔE 0.051
- Dark Periwinkle #665FD1 ΔE 0.060
- Light Indigo #6D5ACF ΔE 0.063
- Periwinkle #8E82FE ΔE 0.065
- Slate Blue #6A5ACD ΔE 0.067
Use #7F6DE5 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.