#766CB5
Closest named color: Dark Lavender (#856798). oklch(57.2% 0.111 288.7), rgb(118, 108, 181).
Aa
White text reads best on this color (4.58:1).
About this color
#766CB5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.111 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.049 away. White text reads best on it, at 4.58:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.111) |
| Temperature | cool |
| Nearest name | Dark Lavender (#856798) |
| Black text | 4.58:1 |
| White text | 4.58:1 |
Values
| HEX | #766CB5 |
| RGB | rgb(118, 108, 181) |
| HSL | hsl(248, 33%, 57%) |
| OKLCH | oklch(57.2% 0.111 288.7) |
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 #766CB5 | 4.58:1 | AA | Lc -77.2 | Fine for body text |
| Black text on #766CB5 | 4.58:1 | AA | Lc 32.3 | Non-text elements, placeholder text |
| #766CB5 text on white | 4.58:1 | AA | Lc 71.7 | Content text, not long reading |
| #766CB5 text on black | 4.58:1 | AA | Lc -29.9 | 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
#E9E8F3
oklch(93.5% 0.015 290.3)
-
Step 200
200
#D8D7EB
oklch(88.6% 0.027 288.1)
-
Step 300
300
#BFBCE0
oklch(80.9% 0.05 289)
-
Step 400
400
#9E99D0
oklch(70.7% 0.08 288.3)
-
Step 500
500
#877FC3
oklch(63.1% 0.101 288.5)
-
Step 600
600 (this color)
#766CB5
oklch(57.2% 0.111 288.7)
-
Step 700
700
#5F5697
oklch(49.2% 0.102 288.4)
-
Step 800
800
#4E467B
oklch(42.7% 0.086 289.1)
-
Step 900
900
#403B63
oklch(37.6% 0.068 288.4)
-
Step 950
950
#26233A
oklch(27.1% 0.042 289.2)
#766CB5 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) | #5577B8 | 0.050 |
| Deuteranopia (no green cones) | #5574B3 | 0.048 |
| Tritanopia (no blue cones) | #667A88 | 0.093 |
| Achromatopsia (no color) | #757575 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #766CB5
#766CB5
oklch(57.2% 0.111 288.7)
- #7E7D20
#7E7D20
oklch(57.3% 0.111 108.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 #766CB5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lavender #856798 ΔE 0.049
- Deep Lavender #8D5EB7 ΔE 0.049
- Deep Lilac #966EBD ΔE 0.054
- Faded Purple #916E99 ΔE 0.063
- Dark Periwinkle #665FD1 ΔE 0.065
- Dark Lilac #9C6DA5 ΔE 0.067
- Slate Blue #6A5ACD ΔE 0.067
- Grey Purple #826D8C ΔE 0.068
Use #766CB5 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.