#7E7EF6
Closest named color: Periwinkle (#8E82FE). oklch(65.1% 0.175 280.4), rgb(126, 126, 246).
Aa
Black text reads best on this color (6.20:1).
About this color
#7E7EF6 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.175 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.028 away. Black text reads best on it, at 6.20:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.175) |
| Temperature | cool |
| Nearest name | Periwinkle (#8E82FE) |
| Black text | 6.20:1 |
| White text | 3.38:1 |
Values
| HEX | #7E7EF6 |
| RGB | rgb(126, 126, 246) |
| HSL | hsl(240, 87%, 73%) |
| OKLCH | oklch(65.1% 0.175 280.4) |
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 #7E7EF6 | 3.38:1 | AA large text | Lc -66.6 | Content text, not long reading |
| Black text on #7E7EF6 | 6.20:1 | AA | Lc 43.0 | Non-text elements, placeholder text |
| #7E7EF6 text on white | 3.38:1 | AA large text | Lc 61.1 | Content text, not long reading |
| #7E7EF6 text on black | 6.20:1 | AA | Lc -40.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 500.
-
Step 50
50
#F4F5FD
oklch(97.2% 0.011 280.5)
-
Step 100
100
#E6E8FB
oklch(93.5% 0.026 281.1)
-
Step 200
200
#D3D6F9
oklch(88.5% 0.048 281.5)
-
Step 300
300
#B6BBF7
oklch(80.9% 0.085 280.6)
-
Step 400
400
#9195F4
oklch(70.7% 0.138 280.4)
-
Step 500
500 (this color)
#7E7EF6
oklch(65.1% 0.175 280.4)
-
Step 600
600
#635DDE
oklch(55.6% 0.191 280.3)
-
Step 700
700
#534CC0
oklch(49.1% 0.176 280.4)
-
Step 800
800
#433F9C
oklch(42.7% 0.147 280.1)
-
Step 900
900
#38377C
oklch(37.8% 0.114 280.1)
-
Step 950
950
#212148
oklch(27.1% 0.071 280.6)
#7E7EF6 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) | #4790FA | 0.068 |
| Deuteranopia (no green cones) | #3D87F3 | 0.070 |
| Tritanopia (no blue cones) | #5098AE | 0.152 |
| Achromatopsia (no color) | #8B8B8B | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E7EF6
#7E7EF6
oklch(65.1% 0.175 280.4)
- #A29000
#A29000
oklch(64.9% 0.135 100.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 #7E7EF6, closest first.
No curated palette has a color within ΔE 0.04 of #7E7EF6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Periwinkle #8E82FE ΔE 0.028
- Cornflower #6A79F7 ΔE 0.031
- Lavender Blue #8B88F8 ΔE 0.032
- Soft Blue #6488EA ΔE 0.045
- Medium Slate Blue #7B68EE ΔE 0.053
- Perrywinkle #8F8CE7 ΔE 0.053
- Medium Purple #9370DB ΔE 0.055
- Cornflower Blue #6495ED ΔE 0.066
Use #7E7EF6 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.