#786DE6
Closest named color: Medium Slate Blue (#7B68EE). oklch(60.5% 0.177 283.9), rgb(120, 109, 230).
Aa
Black text reads best on this color (5.12:1).
About this color
#786DE6 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.177 and its hue 284°. 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 5.12:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.177) |
| Temperature | cool |
| Nearest name | Medium Slate Blue (#7B68EE) |
| Black text | 5.12:1 |
| White text | 4.09:1 |
Values
| HEX | #786DE6 |
| RGB | rgb(120, 109, 230) |
| HSL | hsl(245, 71%, 66%) |
| OKLCH | oklch(60.5% 0.177 283.9) |
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 #786DE6 | 4.09:1 | AA large text | Lc -73.3 | Content text, not long reading |
| Black text on #786DE6 | 5.12:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #786DE6 text on white | 4.09:1 | AA large text | Lc 67.8 | Content text, not long reading |
| #786DE6 text on black | 5.12:1 | AA | Lc -33.8 | 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
#E7E8FB
oklch(93.6% 0.026 283.5)
-
Step 200
200
#D4D6F9
oklch(88.6% 0.048 282.8)
-
Step 300
300
#B9BAF7
oklch(81% 0.086 283.6)
-
Step 400
400
#9793F3
oklch(70.7% 0.138 284.2)
-
Step 500
500 (this color)
#786DE6
oklch(60.5% 0.177 283.9)
-
Step 600
600
#6A5ADD
oklch(55.5% 0.192 283.7)
-
Step 700
700
#5949C0
oklch(49.1% 0.179 283.8)
-
Step 800
800
#493D9B
oklch(42.7% 0.147 284.1)
-
Step 900
900
#3C357C
oklch(37.7% 0.116 283.8)
-
Step 950
950
#232048
oklch(27% 0.072 283.9)
#786DE6 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) | #2E81EA | 0.084 |
| Deuteranopia (no green cones) | #277AE3 | 0.086 |
| Tritanopia (no blue cones) | #51889F | 0.151 |
| Achromatopsia (no color) | #7D7D7D | 0.178 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #786DE6
#786DE6
oklch(60.5% 0.177 283.9)
- #8F8400
#8F8400
oklch(60.4% 0.127 103.7)
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 #786DE6, closest first.
No curated palette has a color within ΔE 0.04 of #786DE6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Slate Blue #7B68EE ΔE 0.018
- Cornflower #6A79F7 ΔE 0.039
- Medium Purple #9370DB ΔE 0.047
- Purpley #8756E4 ΔE 0.053
- Dark Periwinkle #665FD1 ΔE 0.054
- Light Indigo #6D5ACF ΔE 0.058
- Slate Blue #6A5ACD ΔE 0.062
- Soft Blue #6488EA ΔE 0.068
Use #786DE6 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.