#7F6DC6
Closest named color: Deep Lilac (#966EBD). oklch(59.1% 0.133 291.1), rgb(127, 109, 198).
Aa
Black text reads best on this color (4.90:1).
About this color
#7F6DC6 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.133 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.040 away. Black text reads best on it, at 4.90:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.133) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 4.90:1 |
| White text | 4.28:1 |
Values
| HEX | #7F6DC6 |
| RGB | rgb(127, 109, 198) |
| HSL | hsl(252, 44%, 60%) |
| OKLCH | oklch(59.1% 0.133 291.1) |
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 #7F6DC6 | 4.28:1 | AA large text | Lc -75.0 | Content text, not long reading |
| Black text on #7F6DC6 | 4.90:1 | AA | Lc 34.6 | Non-text elements, placeholder text |
| #7F6DC6 text on white | 4.28:1 | AA large text | Lc 69.5 | Content text, not long reading |
| #7F6DC6 text on black | 4.90:1 | AA | Lc -32.2 | 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 600.
-
Step 50
50
#F5F5FB
oklch(97.2% 0.008 286.3)
-
Step 100
100
#E9E8F5
oklch(93.6% 0.017 289.6)
-
Step 200
200
#D9D6EE
oklch(88.6% 0.033 291.5)
-
Step 300
300
#C0BAE5
oklch(80.8% 0.06 291.4)
-
Step 400
400
#A196D8
oklch(70.7% 0.096 291.4)
-
Step 500
500
#8A7BCE
oklch(63.1% 0.123 290.7)
-
Step 600
600 (this color)
#7F6DC6
oklch(59.1% 0.133 291.1)
-
Step 700
700
#6251A1
oklch(49.1% 0.125 290.9)
-
Step 800
800
#504382
oklch(42.7% 0.102 290.9)
-
Step 900
900
#423968
oklch(37.7% 0.079 290.9)
-
Step 950
950
#27223D
oklch(27.1% 0.049 291.2)
#7F6DC6 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) | #4F7CC9 | 0.069 |
| Deuteranopia (no green cones) | #5078C4 | 0.066 |
| Tritanopia (no blue cones) | #6D7E90 | 0.110 |
| Achromatopsia (no color) | #7A7A7A | 0.134 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F6DC6
#7F6DC6
oklch(59.1% 0.133 291.1)
- #818400
#818400
oklch(59.1% 0.13 111.4)
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 #7F6DC6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.040
- Deep Lavender #8D5EB7 ΔE 0.044
- Medium Purple #9370DB ΔE 0.046
- Amethyst #9B5FC0 ΔE 0.054
- Dark Periwinkle #665FD1 ΔE 0.059
- Light Indigo #6D5ACF ΔE 0.061
- Slate Blue #6A5ACD ΔE 0.063
- Medium Slate Blue #7B68EE ΔE 0.064
Use #7F6DC6 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.