#7966CE
Closest named color: Dark Periwinkle (#665FD1). oklch(57.8% 0.155 289), rgb(121, 102, 206).
Aa
Black text reads best on this color (4.60:1).
About this color
#7966CE is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.155 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.036 away. Black text reads best on it, at 4.60:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.155) |
| Temperature | cool |
| Nearest name | Dark Periwinkle (#665FD1) |
| Black text | 4.60:1 |
| White text | 4.56:1 |
Values
| HEX | #7966CE |
| RGB | rgb(121, 102, 206) |
| HSL | hsl(251, 51%, 60%) |
| OKLCH | oklch(57.8% 0.155 289) |
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 #7966CE | 4.56:1 | AA | Lc -76.9 | Fine for body text |
| Black text on #7966CE | 4.60:1 | AA | Lc 32.6 | Non-text elements, placeholder text |
| #7966CE text on white | 4.56:1 | AA | Lc 71.5 | Content text, not long reading |
| #7966CE text on black | 4.60:1 | AA | Lc -30.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
#E9E8F7
oklch(93.6% 0.02 289.1)
-
Step 200
200
#D8D6F2
oklch(88.6% 0.038 288.9)
-
Step 300
300
#BEBAEB
oklch(80.9% 0.069 288.5)
-
Step 400
400
#9E95E2
oklch(70.8% 0.111 288.6)
-
Step 500
500
#8878D9
oklch(63% 0.143 289.2)
-
Step 600
600 (this color)
#7966CE
oklch(57.8% 0.155 289)
-
Step 700
700
#604EAC
oklch(49.1% 0.144 288.7)
-
Step 800
800
#4F418B
oklch(42.8% 0.118 289.1)
-
Step 900
900
#41376F
oklch(37.6% 0.093 289.3)
-
Step 950
950
#262141
oklch(27.1% 0.058 289.1)
#7966CE 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) | #3A78D2 | 0.082 |
| Deuteranopia (no green cones) | #3B73CC | 0.080 |
| Tritanopia (no blue cones) | #617B90 | 0.128 |
| Achromatopsia (no color) | #767676 | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7966CE
#7966CE
oklch(57.8% 0.155 289)
- #807F00
#807F00
oklch(57.8% 0.126 109.2)
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 #7966CE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Periwinkle #665FD1 ΔE 0.036
- Light Indigo #6D5ACF ΔE 0.037
- Slate Blue #6A5ACD ΔE 0.040
- Medium Slate Blue #7B68EE ΔE 0.048
- Deep Lavender #8D5EB7 ΔE 0.049
- Medium Purple #9370DB ΔE 0.053
- Iris #6258C4 ΔE 0.054
- Purpley #8756E4 ΔE 0.054
Use #7966CE 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.