#7E6FFF
Closest named color: Medium Slate Blue (#7B68EE). oklch(63% 0.206 283.5), rgb(126, 111, 255).
Aa
Black text reads best on this color (5.60:1).
About this color
#7E6FFF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.206 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.030 away. Black text reads best on it, at 5.60:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.206) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.60:1 |
| White text | 3.74:1 |
Values
| HEX | #7E6FFF |
| RGB | rgb(126, 111, 255) |
| HSL | hsl(246, 100%, 72%) |
| OKLCH | oklch(63% 0.206 283.5) |
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 #7E6FFF | 3.74:1 | AA large text | Lc -70.2 | Content text, not long reading |
| Black text on #7E6FFF | 5.60:1 | AA | Lc 39.4 | Non-text elements, placeholder text |
| #7E6FFF text on white | 3.74:1 | AA large text | Lc 64.7 | Content text, not long reading |
| #7E6FFF text on black | 5.60:1 | AA | Lc -37.0 | 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
#F4F4FF
oklch(97% 0.015 286.1)
-
Step 100
100
#E7E8FD
oklch(93.7% 0.028 283.7)
-
Step 200
200
#D3D5FE
oklch(88.5% 0.056 283)
-
Step 300
300
#B8B8FF
oklch(80.8% 0.1 283.9)
-
Step 400
400
#9590FF
oklch(70.6% 0.159 283.6)
-
Step 500
500 (this color)
#7E6FFF
oklch(63% 0.206 283.5)
-
Step 600
600
#6A52EF
oklch(55.7% 0.224 283.3)
-
Step 700
700
#5940D0
oklch(49.1% 0.209 283.5)
-
Step 800
800
#4837A8
oklch(42.8% 0.172 283.2)
-
Step 900
900
#3C3185
oklch(37.7% 0.135 283.8)
-
Step 950
950
#231E4E
oklch(27.1% 0.085 283.9)
#7E6FFF 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) | #0088FF | 0.104 |
| Deuteranopia (no green cones) | #007FFC | 0.101 |
| Tritanopia (no blue cones) | #4B90AC | 0.176 |
| Achromatopsia (no color) | #848484 | 0.207 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E6FFF
#7E6FFF
oklch(63% 0.206 283.5)
- #988C00
#988C00
oklch(63.1% 0.133 103.5)
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 #7E6FFF, closest first.
No curated palette has a color within ΔE 0.04 of #7E6FFF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.030
- Cornflower #6A79F7 ΔE 0.036
- Periwinkle #8E82FE ΔE 0.053
- Medium Purple #9370DB ΔE 0.064
- Purpley #8756E4 ΔE 0.065
- Lavender Blue #8B88F8 ΔE 0.066
- Lighter Purple #A55AF4 ΔE 0.074
- Soft Blue #6488EA ΔE 0.076
Use #7E6FFF 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.