#7861E9
Closest named color: Medium Slate Blue (#7B68EE). oklch(58.7% 0.197 286.4), rgb(120, 97, 233).
Aa
Black text reads best on this color (4.68:1).
About this color
#7861E9 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.197 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.018 away. Black text reads best on it, at 4.68:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.197) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.68:1 |
| White text | 4.48:1 |
Values
| HEX | #7861E9 |
| RGB | rgb(120, 97, 233) |
| HSL | hsl(250, 76%, 65%) |
| OKLCH | oklch(58.7% 0.197 286.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 #7861E9 | 4.48:1 | AA large text | Lc -76.2 | Fine for body text |
| Black text on #7861E9 | 4.68:1 | AA | Lc 33.4 | Non-text elements, placeholder text |
| #7861E9 text on white | 4.48:1 | AA large text | Lc 70.7 | Content text, not long reading |
| #7861E9 text on black | 4.68:1 | AA | Lc -30.9 | 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
#F4F4FD
oklch(97% 0.012 286.2)
-
Step 100
100
#E8E8FB
oklch(93.7% 0.026 285.9)
-
Step 200
200
#D6D5F9
oklch(88.5% 0.049 286.6)
-
Step 300
300
#BCB9F8
oklch(81% 0.088 286.4)
-
Step 400
400
#9B91F4
oklch(70.7% 0.142 286.8)
-
Step 500
500
#8473F0
oklch(63.2% 0.181 286.2)
-
Step 600
600 (this color)
#7861E9
oklch(58.7% 0.197 286.4)
-
Step 700
700
#5E46C1
oklch(49.1% 0.183 286.5)
-
Step 800
800
#4C3B9C
oklch(42.7% 0.151 286.2)
-
Step 900
900
#3F347C
oklch(37.8% 0.118 286.3)
-
Step 950
950
#251F49
oklch(27.1% 0.075 286.8)
#7861E9 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) | #007BED | 0.106 |
| Deuteranopia (no green cones) | #0073E6 | 0.104 |
| Tritanopia (no blue cones) | #50809C | 0.164 |
| Achromatopsia (no color) | #777777 | 0.198 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7861E9
#7861E9
oklch(58.7% 0.197 286.4)
- #868000
#868000
oklch(58.6% 0.125 106.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 #7861E9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.018
- Purpley #8756E4 ΔE 0.032
- Light Indigo #6D5ACF ΔE 0.046
- Dark Periwinkle #665FD1 ΔE 0.046
- Slate Blue #6A5ACD ΔE 0.051
- Cornflower #6A79F7 ΔE 0.058
- Medium Purple #9370DB ΔE 0.064
- Iris #6258C4 ΔE 0.070
Use #7861E9 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.