#7962E2
Closest named color: Medium Slate Blue (#7B68EE). oklch(58.4% 0.187 287.4), rgb(121, 98, 226).
Aa
Black text reads best on this color (4.65:1).
About this color
#7962E2 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.187 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.022 away. Black text reads best on it, at 4.65:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.187) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.65:1 |
| White text | 4.50:1 |
Values
| HEX | #7962E2 |
| RGB | rgb(121, 98, 226) |
| HSL | hsl(251, 69%, 64%) |
| OKLCH | oklch(58.4% 0.187 287.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 #7962E2 | 4.50:1 | AA | Lc -76.4 | Fine for body text |
| Black text on #7962E2 | 4.65:1 | AA | Lc 33.1 | Non-text elements, placeholder text |
| #7962E2 text on white | 4.50:1 | AA | Lc 71.0 | Content text, not long reading |
| #7962E2 text on black | 4.65:1 | AA | Lc -30.7 | 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
#F5F4FD
oklch(97% 0.012 291.3)
-
Step 100
100
#E8E8FA
oklch(93.6% 0.024 285.9)
-
Step 200
200
#D7D5F7
oklch(88.5% 0.047 288.1)
-
Step 300
300
#BDB9F5
oklch(81% 0.084 287.4)
-
Step 400
400
#9C92EF
oklch(70.7% 0.134 287.4)
-
Step 500
500
#8674EA
oklch(63.1% 0.171 287.4)
-
Step 600
600 (this color)
#7962E2
oklch(58.4% 0.187 287.4)
-
Step 700
700
#5F48BC
oklch(49.1% 0.174 287.3)
-
Step 800
800
#4D3C98
oklch(42.7% 0.144 287.1)
-
Step 900
900
#403479
oklch(37.7% 0.113 287.7)
-
Step 950
950
#251F47
oklch(26.9% 0.072 287.4)
#7962E2 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) | #067AE6 | 0.106 |
| Deuteranopia (no green cones) | #0773DF | 0.105 |
| Tritanopia (no blue cones) | #577F99 | 0.155 |
| Achromatopsia (no color) | #777777 | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7962E2
#7962E2
oklch(58.4% 0.187 287.4)
- #848000
#848000
oklch(58.4% 0.126 107.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 and gradients that use #7962E2
These curated palettes and gradients contain exactly #7962E2. Open one to see the full color scheme around it.
Gradients
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.022
- Purpley #8756E4 ΔE 0.032
- Light Indigo #6D5ACF ΔE 0.039
- Dark Periwinkle #665FD1 ΔE 0.040
- Slate Blue #6A5ACD ΔE 0.044
- Medium Purple #9370DB ΔE 0.058
- Cornflower #6A79F7 ΔE 0.061
- Iris #6258C4 ΔE 0.063
Use #7962E2 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.