#7F66CE
Closest named color: Deep Lavender (#8D5EB7). oklch(58.3% 0.155 292), rgb(127, 102, 206).
Aa
Black text reads best on this color (4.69:1).
About this color
#7F66CE is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.155 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.043 away. Black text reads best on it, at 4.69:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.155) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.69:1 |
| White text | 4.47:1 |
Values
| HEX | #7F66CE |
| RGB | rgb(127, 102, 206) |
| HSL | hsl(254, 51%, 60%) |
| OKLCH | oklch(58.3% 0.155 292) |
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 #7F66CE | 4.47:1 | AA large text | Lc -76.3 | Fine for body text |
| Black text on #7F66CE | 4.69:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #7F66CE text on white | 4.47:1 | AA large text | Lc 70.8 | Content text, not long reading |
| #7F66CE text on black | 4.69:1 | AA | Lc -30.8 | 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
#F5F4FB
oklch(97% 0.009 292.8)
-
Step 100
100
#EAE8F7
oklch(93.7% 0.02 292.1)
-
Step 200
200
#D9D5F1
oklch(88.5% 0.038 292.2)
-
Step 300
300
#C1B9EB
oklch(80.9% 0.07 292.1)
-
Step 400
400
#A293E0
oklch(70.6% 0.112 292.2)
-
Step 500
500
#8C77D8
oklch(63.1% 0.143 291.7)
-
Step 600
600 (this color)
#7F66CE
oklch(58.3% 0.155 292)
-
Step 700
700
#644DAA
oklch(49.1% 0.143 291.6)
-
Step 800
800
#523F8A
oklch(42.7% 0.12 292.2)
-
Step 900
900
#43366E
oklch(37.6% 0.093 292)
-
Step 950
950
#272041
oklch(26.9% 0.06 291.6)
#7F66CE 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) | #3C79D2 | 0.089 |
| Deuteranopia (no green cones) | #4075CC | 0.085 |
| Tritanopia (no blue cones) | #6B7B90 | 0.127 |
| Achromatopsia (no color) | #777777 | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F66CE
#7F66CE
oklch(58.3% 0.155 292)
- #7E8200
#7E8200
oklch(58.4% 0.129 111.9)
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 #7F66CE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.043
- Light Indigo #6D5ACF ΔE 0.043
- Dark Periwinkle #665FD1 ΔE 0.045
- Medium Purple #9370DB ΔE 0.045
- Slate Blue #6A5ACD ΔE 0.047
- Medium Slate Blue #7B68EE ΔE 0.049
- Purpley #8756E4 ΔE 0.052
- Amethyst #9B5FC0 ΔE 0.052
Use #7F66CE 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.