#7879CE
Closest named color: Medium Purple (#9370DB). oklch(61.3% 0.127 281.5), rgb(120, 121, 206).
Aa
Black text reads best on this color (5.42:1).
About this color
#7879CE is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.127 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.051 away. Black text reads best on it, at 5.42:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.127) |
| Temperature | cool |
| Nearest name | Medium Purple (#9370DB) |
| Black text | 5.42:1 |
| White text | 3.87:1 |
Values
| HEX | #7879CE |
| RGB | rgb(120, 121, 206) |
| HSL | hsl(239, 47%, 64%) |
| OKLCH | oklch(61.3% 0.127 281.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 #7879CE | 3.87:1 | AA large text | Lc -71.6 | Content text, not long reading |
| Black text on #7879CE | 5.42:1 | AA | Lc 38.0 | Non-text elements, placeholder text |
| #7879CE text on white | 3.87:1 | AA large text | Lc 66.1 | Content text, not long reading |
| #7879CE text on black | 5.42:1 | AA | Lc -35.6 | 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
#E7E9F6
oklch(93.6% 0.018 279.1)
-
Step 200
200
#D5D7F0
oklch(88.5% 0.034 282)
-
Step 300
300
#B9BDE9
oklch(81% 0.062 280.8)
-
Step 400
400
#9699DD
oklch(70.7% 0.099 281.6)
-
Step 500
500 (this color)
#7879CE
oklch(61.3% 0.127 281.5)
-
Step 600
600
#6766C1
oklch(55.5% 0.138 281.4)
-
Step 700
700
#5655A7
oklch(49.2% 0.128 281.2)
-
Step 800
800
#464687
oklch(42.8% 0.106 281)
-
Step 900
900
#3B3B6C
oklch(37.7% 0.083 281.7)
-
Step 950
950
#22233F
oklch(27% 0.052 280.8)
#7879CE 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) | #5A85D1 | 0.045 |
| Deuteranopia (no green cones) | #567FCC | 0.044 |
| Tritanopia (no blue cones) | #5E8A99 | 0.111 |
| Achromatopsia (no color) | #818181 | 0.127 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7879CE
#7879CE
oklch(61.3% 0.127 281.5)
- #948604
#948604
oklch(61.4% 0.128 102)
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 #7879CE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Purple #9370DB ΔE 0.051
- Deep Lilac #966EBD ΔE 0.054
- Soft Blue #6488EA ΔE 0.054
- Cornflower #6A79F7 ΔE 0.064
- Medium Slate Blue #7B68EE ΔE 0.068
- Faded Blue #658CBB ΔE 0.068
- Perrywinkle #8F8CE7 ΔE 0.068
- Deep Lavender #8D5EB7 ΔE 0.074
Use #7879CE 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.