#7F6DBD
Closest named color: Deep Lilac (#966EBD). oklch(58.6% 0.121 292.6), rgb(127, 109, 189).
Aa
Black text reads best on this color (4.82:1).
About this color
#7F6DBD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.121 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.038 away. Black text reads best on it, at 4.82:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.121) |
| Temperature | in between |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 4.82:1 |
| White text | 4.35:1 |
Values
| HEX | #7F6DBD |
| RGB | rgb(127, 109, 189) |
| HSL | hsl(253, 38%, 58%) |
| OKLCH | oklch(58.6% 0.121 292.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 #7F6DBD | 4.35:1 | AA large text | Lc -75.5 | Fine for body text |
| Black text on #7F6DBD | 4.82:1 | AA | Lc 34.0 | Non-text elements, placeholder text |
| #7F6DBD text on white | 4.35:1 | AA large text | Lc 70.0 | Content text, not long reading |
| #7F6DBD text on black | 4.82:1 | AA | Lc -31.6 | 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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#EAE8F4
oklch(93.6% 0.016 293.7)
-
Step 200
200
#D9D6EC
oklch(88.5% 0.03 292)
-
Step 300
300
#C1BBE1
oklch(80.9% 0.053 292.4)
-
Step 400
400
#A297D2
oklch(70.7% 0.086 292.6)
-
Step 500
500
#8C7CC7
oklch(63.1% 0.112 292.7)
-
Step 600
600 (this color)
#7F6DBD
oklch(58.6% 0.121 292.6)
-
Step 700
700
#63539A
oklch(49.1% 0.111 292.2)
-
Step 800
800
#51447D
oklch(42.7% 0.093 292.5)
-
Step 900
900
#433A64
oklch(37.8% 0.071 292.5)
-
Step 950
950
#27223B
oklch(27% 0.046 292.2)
#7F6DBD 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) | #547AC0 | 0.063 |
| Deuteranopia (no green cones) | #5678BB | 0.061 |
| Tritanopia (no blue cones) | #717C8C | 0.099 |
| Achromatopsia (no color) | #797979 | 0.121 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F6DBD
#7F6DBD
oklch(58.6% 0.121 292.6)
- #7E831B
#7E831B
oklch(58.7% 0.121 112.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 #7F6DBD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.038
- Deep Lavender #8D5EB7 ΔE 0.041
- Amethyst #9B5FC0 ΔE 0.055
- Medium Purple #9370DB ΔE 0.056
- Dark Lavender #856798 ΔE 0.057
- Dark Lilac #9C6DA5 ΔE 0.060
- Faded Purple #916E99 ΔE 0.064
- Dark Periwinkle #665FD1 ΔE 0.066
Use #7F6DBD 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.