#7B78CA
Closest named color: Deep Lilac (#966EBD). oklch(61.1% 0.122 283.8), rgb(123, 120, 202).
Aa
Black text reads best on this color (5.38:1).
About this color
#7B78CA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.122 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.048 away. Black text reads best on it, at 5.38:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.122) |
| Temperature | cool |
| Nearest name | Deep Lilac (#966EBD) |
| Black text | 5.38:1 |
| White text | 3.90:1 |
Values
| HEX | #7B78CA |
| RGB | rgb(123, 120, 202) |
| HSL | hsl(242, 44%, 63%) |
| OKLCH | oklch(61.1% 0.122 283.8) |
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 #7B78CA | 3.90:1 | AA large text | Lc -71.9 | Content text, not long reading |
| Black text on #7B78CA | 5.38:1 | AA | Lc 37.7 | Non-text elements, placeholder text |
| #7B78CA text on white | 3.90:1 | AA large text | Lc 66.4 | Content text, not long reading |
| #7B78CA text on black | 5.38:1 | AA | Lc -35.3 | 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 500.
-
Step 50
50
#F4F5FB
oklch(97.1% 0.008 278.6)
-
Step 100
100
#E8E9F5
oklch(93.7% 0.016 282.3)
-
Step 200
200
#D6D7EF
oklch(88.6% 0.033 283.8)
-
Step 300
300
#BBBCE7
oklch(80.9% 0.06 283.9)
-
Step 400
400
#9999DB
oklch(70.8% 0.096 283.7)
-
Step 500
500 (this color)
#7B78CA
oklch(61.1% 0.122 283.8)
-
Step 600
600
#6B66BE
oklch(55.6% 0.133 283.7)
-
Step 700
700
#5954A4
oklch(49% 0.125 283.6)
-
Step 800
800
#494585
oklch(42.7% 0.104 283.9)
-
Step 900
900
#3D3B6A
oklch(37.8% 0.079 283.9)
-
Step 950
950
#23233E
oklch(27% 0.05 282.6)
#7B78CA 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) | #5C84CD | 0.047 |
| Deuteranopia (no green cones) | #597EC8 | 0.045 |
| Tritanopia (no blue cones) | #648897 | 0.106 |
| Achromatopsia (no color) | #818181 | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B78CA
#7B78CA
oklch(61.1% 0.122 283.8)
- #908617
#908617
oklch(61% 0.122 103.9)
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 #7B78CA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Lilac #966EBD ΔE 0.048
- Medium Purple #9370DB ΔE 0.050
- Soft Blue #6488EA ΔE 0.061
- Faded Blue #658CBB ΔE 0.068
- Deep Lavender #8D5EB7 ΔE 0.069
- Perrywinkle #8F8CE7 ΔE 0.071
- Cornflower #6A79F7 ΔE 0.071
- Medium Slate Blue #7B68EE ΔE 0.072
Use #7B78CA 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.