#7864E7
Closest named color: Medium Slate Blue (#7B68EE). oklch(59% 0.19 286), rgb(120, 100, 231).
Aa
Black text reads best on this color (4.77:1).
About this color
#7864E7 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.190 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.015 away. Black text reads best on it, at 4.77:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.190) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 4.77:1 |
| White text | 4.39:1 |
Values
| HEX | #7864E7 |
| RGB | rgb(120, 100, 231) |
| HSL | hsl(249, 73%, 65%) |
| OKLCH | oklch(59% 0.19 286) |
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 #7864E7 | 4.39:1 | AA large text | Lc -75.6 | Fine for body text |
| Black text on #7864E7 | 4.77:1 | AA | Lc 33.9 | Non-text elements, placeholder text |
| #7864E7 text on white | 4.39:1 | AA large text | Lc 70.1 | Content text, not long reading |
| #7864E7 text on black | 4.77:1 | AA | Lc -31.5 | 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
#E8E8FA
oklch(93.6% 0.024 285.9)
-
Step 200
200
#D6D5F8
oklch(88.5% 0.048 286.7)
-
Step 300
300
#BBB9F6
oklch(80.9% 0.086 285.8)
-
Step 400
400
#9A92F2
oklch(70.7% 0.138 286.1)
-
Step 500
500
#8374ED
oklch(63.1% 0.176 285.9)
-
Step 600
600 (this color)
#7864E7
oklch(59% 0.19 286)
-
Step 700
700
#5D48BE
oklch(49.1% 0.177 286.1)
-
Step 800
800
#4C3C9A
oklch(42.8% 0.147 286.2)
-
Step 900
900
#3E357A
oklch(37.7% 0.113 285.6)
-
Step 950
950
#241F48
oklch(26.9% 0.074 285.9)
#7864E7 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) | #007CEB | 0.104 |
| Deuteranopia (no green cones) | #0074E4 | 0.102 |
| Tritanopia (no blue cones) | #51829C | 0.160 |
| Achromatopsia (no color) | #787878 | 0.191 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7864E7
#7864E7
oklch(59% 0.19 286)
- #888100
#888100
oklch(59% 0.126 105.8)
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 #7864E7, closest first.
No curated palette has a color within ΔE 0.04 of #7864E7.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.015
- Purpley #8756E4 ΔE 0.036
- Dark Periwinkle #665FD1 ΔE 0.045
- Light Indigo #6D5ACF ΔE 0.046
- Slate Blue #6A5ACD ΔE 0.051
- Cornflower #6A79F7 ΔE 0.053
- Medium Purple #9370DB ΔE 0.059
- Iris #6258C4 ΔE 0.070
Use #7864E7 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.