#7878AB
Closest named color: Lavender Gray (#7E7F9A). oklch(59.3% 0.077 283.8), rgb(120, 120, 171).
Aa
Black text reads best on this color (5.07:1).
About this color
#7878AB is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.077 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.039 away. Black text reads best on it, at 5.07:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.077) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #7878AB |
| RGB | rgb(120, 120, 171) |
| HSL | hsl(240, 23%, 57%) |
| OKLCH | oklch(59.3% 0.077 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 #7878AB | 4.13:1 | AA large text | Lc -74.0 | Content text, not long reading |
| Black text on #7878AB | 5.07:1 | AA | Lc 35.6 | Non-text elements, placeholder text |
| #7878AB text on white | 4.13:1 | AA large text | Lc 68.5 | Content text, not long reading |
| #7878AB text on black | 5.07:1 | AA | Lc -33.2 | 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
#F5F5F8
oklch(97.1% 0.004 286.3)
-
Step 100
100
#E9E9F1
oklch(93.6% 0.011 286.2)
-
Step 200
200
#D7D8E6
oklch(88.6% 0.019 282.7)
-
Step 300
300
#BDBED7
oklch(80.9% 0.035 283.8)
-
Step 400
400
#9C9DC3
oklch(70.8% 0.055 283.7)
-
Step 500
500
#8484B4
oklch(63.2% 0.072 284.2)
-
Step 600
600 (this color)
#7878AB
oklch(59.3% 0.077 283.8)
-
Step 700
700
#5B5B88
oklch(49% 0.072 283.4)
-
Step 800
800
#4B4B6F
oklch(42.8% 0.059 283.6)
-
Step 900
900
#3E3E5A
oklch(37.6% 0.048 283.9)
-
Step 950
950
#242534
oklch(27% 0.028 281.4)
#7878AB 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) | #6A7EAD | 0.023 |
| Deuteranopia (no green cones) | #687BAA | 0.023 |
| Tritanopia (no blue cones) | #6C818A | 0.067 |
| Achromatopsia (no color) | #7D7D7D | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7878AB
#7878AB
oklch(59.3% 0.077 283.8)
- #868048
#868048
oklch(59.2% 0.077 103.1)
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 #7878AB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.039
- Faded Purple #916E99 ΔE 0.048
- Dark Lavender #856798 ΔE 0.049
- Grey Purple #826D8C ΔE 0.050
- Off Blue #5684AE ΔE 0.050
- Dusty Blue #5A86AD ΔE 0.051
- Slate Gray #708090 ΔE 0.055
- Faded Blue #658CBB ΔE 0.056
Use #7878AB 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.