#786AB1
Closest named color: Dark Lavender (#856798). oklch(56.8% 0.108 291.6), rgb(120, 106, 177).
Aa
White text reads best on this color (4.67:1).
About this color
#786AB1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.108 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.043 away. White text reads best on it, at 4.67:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.108) |
| Temperature | in between |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.49:1 |
| White text | 4.67:1 |
Values
| HEX | #786AB1 |
| RGB | rgb(120, 106, 177) |
| HSL | hsl(252, 31%, 55%) |
| OKLCH | oklch(56.8% 0.108 291.6) |
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 #786AB1 | 4.67:1 | AA | Lc -77.8 | Fine for body text |
| Black text on #786AB1 | 4.49:1 | AA large text | Lc 31.7 | Non-text elements, placeholder text |
| #786AB1 text on white | 4.67:1 | AA | Lc 72.4 | Content text, not long reading |
| #786AB1 text on black | 4.49:1 | AA large text | Lc -29.3 | 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
#EAE8F3
oklch(93.6% 0.015 294.5)
-
Step 200
200
#D9D6EA
oklch(88.4% 0.027 292.7)
-
Step 300
300
#C0BCDE
oklch(80.9% 0.048 290.7)
-
Step 400
400
#A198CE
oklch(70.7% 0.078 291.9)
-
Step 500
500
#8A7EC1
oklch(63.1% 0.1 291.5)
-
Step 600
600 (this color)
#786AB1
oklch(56.8% 0.108 291.6)
-
Step 700
700
#625595
oklch(49.1% 0.101 291.6)
-
Step 800
800
#504679
oklch(42.8% 0.083 291.5)
-
Step 900
900
#423B61
oklch(37.7% 0.064 291.5)
-
Step 950
950
#272339
oklch(27.1% 0.041 291.8)
#786AB1 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) | #5575B4 | 0.053 |
| Deuteranopia (no green cones) | #5673AF | 0.051 |
| Tritanopia (no blue cones) | #6B7785 | 0.090 |
| Achromatopsia (no color) | #747474 | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #786AB1
#786AB1
oklch(56.8% 0.108 291.6)
- #797C26
#797C26
oklch(56.7% 0.107 111.3)
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 #786AB1, closest first.
No curated palette has a color within ΔE 0.04 of #786AB1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.043
- Deep Lavender #8D5EB7 ΔE 0.046
- Deep Lilac #966EBD ΔE 0.054
- Faded Purple #916E99 ΔE 0.059
- Grey Purple #826D8C ΔE 0.063
- Dark Lilac #9C6DA5 ΔE 0.064
- Dusty Purple #825F87 ΔE 0.066
- Amethyst #9B5FC0 ΔE 0.068
Use #786AB1 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.