#7E66CC
Closest named color: Deep Lavender (#8D5EB7). oklch(58.1% 0.152 291.8), rgb(126, 102, 204).
Aa
Black text reads best on this color (4.65:1).
About this color
#7E66CC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.152 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.042 away. Black text reads best on it, at 4.65:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.65:1 |
| White text | 4.50:1 |
Values
| HEX | #7E66CC |
| RGB | rgb(126, 102, 204) |
| HSL | hsl(254, 50%, 60%) |
| OKLCH | oklch(58.1% 0.152 291.8) |
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 #7E66CC | 4.50:1 | AA | Lc -76.6 | Fine for body text |
| Black text on #7E66CC | 4.65:1 | AA | Lc 33.0 | Non-text elements, placeholder text |
| #7E66CC text on white | 4.50:1 | AA | Lc 71.1 | Content text, not long reading |
| #7E66CC text on black | 4.65:1 | AA | Lc -30.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
#F5F4FB
oklch(97% 0.009 292.8)
-
Step 100
100
#EAE8F6
oklch(93.7% 0.019 292.6)
-
Step 200
200
#D9D5F1
oklch(88.5% 0.038 292.2)
-
Step 300
300
#C1B9EA
oklch(80.9% 0.069 292.3)
-
Step 400
400
#A294DF
oklch(70.8% 0.109 291.9)
-
Step 500
500
#8C77D6
oklch(63% 0.14 292.1)
-
Step 600
600 (this color)
#7E66CC
oklch(58.1% 0.152 291.8)
-
Step 700
700
#644DA9
oklch(49.1% 0.142 291.8)
-
Step 800
800
#514089
oklch(42.7% 0.117 291.4)
-
Step 900
900
#43376D
oklch(37.7% 0.09 291.7)
-
Step 950
950
#272040
oklch(26.9% 0.058 292.1)
#7E66CC 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) | #3E78D0 | 0.086 |
| Deuteranopia (no green cones) | #4175CA | 0.083 |
| Tritanopia (no blue cones) | #6A7B8F | 0.126 |
| Achromatopsia (no color) | #777777 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E66CC
#7E66CC
oklch(58.1% 0.152 291.8)
- #7D8100
#7D8100
oklch(58% 0.128 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 #7E66CC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.042
- Light Indigo #6D5ACF ΔE 0.043
- Dark Periwinkle #665FD1 ΔE 0.044
- Slate Blue #6A5ACD ΔE 0.046
- Medium Purple #9370DB ΔE 0.048
- Medium Slate Blue #7B68EE ΔE 0.052
- Amethyst #9B5FC0 ΔE 0.052
- Deep Lilac #966EBD ΔE 0.053
Use #7E66CC 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.