#786FAF
Closest named color: Dark Lavender (#856798). oklch(57.6% 0.097 289.4), rgb(120, 111, 175).
Aa
Black text reads best on this color (4.69:1).
About this color
#786FAF is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.097 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.041 away. Black text reads best on it, at 4.69:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.097) |
| Temperature | cool |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.69:1 |
| White text | 4.47:1 |
Values
| HEX | #786FAF |
| RGB | rgb(120, 111, 175) |
| HSL | hsl(248, 29%, 56%) |
| OKLCH | oklch(57.6% 0.097 289.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 #786FAF | 4.47:1 | AA large text | Lc -76.5 | Fine for body text |
| Black text on #786FAF | 4.69:1 | AA | Lc 33.1 | Non-text elements, placeholder text |
| #786FAF text on white | 4.47:1 | AA large text | Lc 71.0 | Content text, not long reading |
| #786FAF text on black | 4.69:1 | AA | Lc -30.7 | 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
#E9E9F2
oklch(93.7% 0.012 286.2)
-
Step 200
200
#D8D7E9
oklch(88.5% 0.025 288.4)
-
Step 300
300
#BFBCDC
oklch(80.8% 0.045 289.7)
-
Step 400
400
#9F9ACA
oklch(70.8% 0.07 289.3)
-
Step 500
500
#8880BC
oklch(63% 0.089 289.7)
-
Step 600
600 (this color)
#786FAF
oklch(57.6% 0.097 289.4)
-
Step 700
700
#605791
oklch(49.1% 0.092 289.7)
-
Step 800
800
#4E4875
oklch(42.8% 0.074 289)
-
Step 900
900
#413C5F
oklch(37.7% 0.059 289.8)
-
Step 950
950
#262337
oklch(26.9% 0.037 290.6)
#786FAF 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) | #5C78B2 | 0.043 |
| Deuteranopia (no green cones) | #5C76AD | 0.042 |
| Tritanopia (no blue cones) | #6B7B87 | 0.082 |
| Achromatopsia (no color) | #777777 | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #786FAF
#786FAF
oklch(57.6% 0.097 289.4)
- #7D7E33
#7D7E33
oklch(57.6% 0.098 109.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 #786FAF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.041
- Faded Purple #916E99 ΔE 0.051
- Deep Lilac #966EBD ΔE 0.053
- Grey Purple #826D8C ΔE 0.055
- Deep Lavender #8D5EB7 ΔE 0.056
- Dark Lilac #9C6DA5 ΔE 0.060
- Lavender Gray #7E7F9A ΔE 0.064
- Dusty Purple #825F87 ΔE 0.067
Use #786FAF 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.