#786FAB
Closest named color: Dark Lavender (#856798). oklch(57.4% 0.091 290.1), rgb(120, 111, 171).
Aa
Black text reads best on this color (4.66:1).
About this color
#786FAB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.091 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.036 away. Black text reads best on it, at 4.66:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.091) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.66:1 |
| White text | 4.50:1 |
Values
| HEX | #786FAB |
| RGB | rgb(120, 111, 171) |
| HSL | hsl(249, 26%, 55%) |
| OKLCH | oklch(57.4% 0.091 290.1) |
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 #786FAB | 4.50:1 | AA | Lc -76.7 | Fine for body text |
| Black text on #786FAB | 4.66:1 | AA | Lc 32.8 | Non-text elements, placeholder text |
| #786FAB text on white | 4.50:1 | AA | Lc 71.2 | Content text, not long reading |
| #786FAB text on black | 4.66:1 | AA | Lc -30.4 | 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
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E9E9F1
oklch(93.6% 0.011 286.2)
-
Step 200
200
#D8D7E8
oklch(88.5% 0.023 288.6)
-
Step 300
300
#C0BDDA
oklch(81% 0.041 290.2)
-
Step 400
400
#9F9AC7
oklch(70.6% 0.065 289.7)
-
Step 500
500
#8981B9
oklch(63.2% 0.084 290.3)
-
Step 600
600 (this color)
#786FAB
oklch(57.4% 0.091 290.1)
-
Step 700
700
#60588E
oklch(49.2% 0.085 289.7)
-
Step 800
800
#4F4873
oklch(42.8% 0.07 290.6)
-
Step 900
900
#413C5D
oklch(37.6% 0.056 290.4)
-
Step 950
950
#262436
oklch(27.1% 0.033 289.1)
#786FAB 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) | #5E78AD | 0.041 |
| Deuteranopia (no green cones) | #5E75A9 | 0.039 |
| Tritanopia (no blue cones) | #6C7A85 | 0.078 |
| Achromatopsia (no color) | #777777 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #786FAB
#786FAB
oklch(57.4% 0.091 290.1)
- #7C7D39
#7C7D39
oklch(57.4% 0.091 109.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 #786FAB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.036
- Faded Purple #916E99 ΔE 0.048
- Grey Purple #826D8C ΔE 0.049
- Deep Lilac #966EBD ΔE 0.056
- Dark Lilac #9C6DA5 ΔE 0.059
- Deep Lavender #8D5EB7 ΔE 0.059
- Lavender Gray #7E7F9A ΔE 0.060
- Dusty Purple #825F87 ΔE 0.062
Use #786FAB 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.