#7E79B2
Closest named color: Lavender Gray (#7E7F9A). oklch(60.3% 0.086 287.5), rgb(126, 121, 178).
Aa
Black text reads best on this color (5.26:1).
About this color
#7E79B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.086 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.045 away. Black text reads best on it, at 5.26:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.086) |
| Temperature | cool |
| Nearest name | Lavender Gray (#7E7F9A) |
| Black text | 5.26:1 |
| White text | 3.98:1 |
Values
| HEX | #7E79B2 |
| RGB | rgb(126, 121, 178) |
| HSL | hsl(245, 27%, 59%) |
| OKLCH | oklch(60.3% 0.086 287.5) |
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 #7E79B2 | 3.98:1 | AA large text | Lc -72.7 | Content text, not long reading |
| Black text on #7E79B2 | 5.26:1 | AA | Lc 36.9 | Non-text elements, placeholder text |
| #7E79B2 text on white | 3.98:1 | AA large text | Lc 67.2 | Content text, not long reading |
| #7E79B2 text on black | 5.26:1 | AA | Lc -34.5 | 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
#F5F5F9
oklch(97.1% 0.005 286.3)
-
Step 100
100
#E9E9F2
oklch(93.7% 0.012 286.2)
-
Step 200
200
#D8D7E8
oklch(88.5% 0.023 288.6)
-
Step 300
300
#BEBDDB
oklch(80.9% 0.042 286.9)
-
Step 400
400
#9E9BC9
oklch(70.8% 0.067 287.6)
-
Step 500
500 (this color)
#7E79B2
oklch(60.3% 0.086 287.5)
-
Step 600
600
#706AA7
oklch(55.5% 0.094 287.4)
-
Step 700
700
#5E588F
oklch(49% 0.087 287.7)
-
Step 800
800
#4D4874
oklch(42.6% 0.072 288.1)
-
Step 900
900
#403D5E
oklch(37.8% 0.056 287.6)
-
Step 950
950
#252437
oklch(27% 0.035 286.2)
#7E79B2 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) | #6981B4 | 0.034 |
| Deuteranopia (no green cones) | #687EB1 | 0.032 |
| Tritanopia (no blue cones) | #72838E | 0.073 |
| Achromatopsia (no color) | #7F7F7F | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E79B2
#7E79B2
oklch(60.3% 0.086 287.5)
- #868545
#868545
oklch(60.3% 0.086 107.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 #7E79B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Gray #7E7F9A ΔE 0.045
- Faded Purple #916E99 ΔE 0.049
- Deep Lilac #966EBD ΔE 0.051
- Dark Lavender #856798 ΔE 0.054
- Dark Lilac #9C6DA5 ΔE 0.054
- Faded Blue #658CBB ΔE 0.056
- Dusty Blue #5A86AD ΔE 0.058
- Off Blue #5684AE ΔE 0.058
Use #7E79B2 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.