#786AB8
Closest named color: Deep Lavender (#8D5EB7). oklch(57.2% 0.118 290.4), rgb(120, 106, 184).
Aa
White text reads best on this color (4.61:1).
About this color
#786AB8 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.118 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.043 away. White text reads best on it, at 4.61:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Deep Lavender (#8D5EB7) |
| Black text | 4.55:1 |
| White text | 4.61:1 |
Values
| HEX | #786AB8 |
| RGB | rgb(120, 106, 184) |
| HSL | hsl(251, 35%, 57%) |
| OKLCH | oklch(57.2% 0.118 290.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 #786AB8 | 4.61:1 | AA | Lc -77.4 | Fine for body text |
| Black text on #786AB8 | 4.55:1 | AA | Lc 32.1 | Non-text elements, placeholder text |
| #786AB8 text on white | 4.61:1 | AA | Lc 71.9 | Content text, not long reading |
| #786AB8 text on black | 4.55:1 | AA | Lc -29.7 | Dividers and decoration only |
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
#F5F5FA
oklch(97.2% 0.007 286.3)
-
Step 100
100
#E9E8F4
oklch(93.5% 0.016 289.9)
-
Step 200
200
#D8D6EC
oklch(88.4% 0.03 289.9)
-
Step 300
300
#C0BBE1
oklch(80.9% 0.053 291.2)
-
Step 400
400
#A098D2
oklch(70.8% 0.084 290.4)
-
Step 500
500
#897DC6
oklch(63% 0.108 290.5)
-
Step 600
600 (this color)
#786AB8
oklch(57.2% 0.118 290.4)
-
Step 700
700
#61549A
oklch(49.1% 0.11 290.3)
-
Step 800
800
#4F457D
oklch(42.7% 0.091 290.2)
-
Step 900
900
#413A64
oklch(37.6% 0.071 290.2)
-
Step 950
950
#26223B
oklch(26.9% 0.046 290.3)
#786AB8 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) | #5176BB | 0.057 |
| Deuteranopia (no green cones) | #5273B6 | 0.055 |
| Tritanopia (no blue cones) | #687988 | 0.099 |
| Achromatopsia (no color) | #757575 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #786AB8
#786AB8
oklch(57.2% 0.118 290.4)
- #7C7D15
#7C7D15
oklch(57.1% 0.118 110.2)
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 #786AB8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lavender #8D5EB7 ΔE 0.043
- Deep Lilac #966EBD ΔE 0.051
- Dark Lavender #856798 ΔE 0.053
- Dark Periwinkle #665FD1 ΔE 0.059
- Light Indigo #6D5ACF ΔE 0.061
- Slate Blue #6A5ACD ΔE 0.061
- Amethyst #9B5FC0 ΔE 0.064
- Iris #6258C4 ΔE 0.065
Use #786AB8 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.