HSL to HEX: #79697B
Also known as: Tailwind mauve-500
Result
hsl(293.33 7.89% 44.71%) → #79697B
Values are shown at full precision, so converting back gives exactly #79697b. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. input
H = 293.33°, S = 7.89%, L = 44.71%
2. C
C = (1 − |2L − 1|) × S = 0.07055
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.06271 (H / 60° = 4.8888, sector 4)
4. m
m = L − C / 2 = 0.41182
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.06271, 0.00000, 0.07055) R = round((0.06271 + 0.41182) × 255) = 121 G = round((0.00000 + 0.41182) × 255) = 105 B = round((0.07055 + 0.41182) × 255) = 123
6. RGB → HEX
#79697B
All formats
- HEX
- #79697b
- RGB
- rgb(121 105 123)
- RGB (legacy)
- rgb(121, 105, 123)
- HSL
- hsl(293.33 7.89% 44.71%) → hsl(293 8% 45%)
- HWB
- hwb(293 41% 52%)
- OKLCH
- oklch(0.542 0.034 322.5) · oklch(54.2% 0.034 322.5)
- OKLab
- oklab(0.542 0.027 -0.020)
- Lab (D50)
- lab(46.42 9.16 -7.61)
- LCH (D50)
- lch(46.42 11.91 320.27)
- Display P3
- color(display-p3 0.4641 0.4140 0.4775)
- Linear sRGB
- color(srgb-linear 0.1912 0.1413 0.1981)
Gamut: sRGB and Display P3
#79697B is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.257 and Display P3 reaches 0.278; this color uses 13% of the sRGB chroma available.
CSS snippets
.element {
color: #79697b;
color: rgb(121 105 123);
color: hsl(293 8% 45%);
color: oklch(0.542 0.034 322.5);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.542 0.034 322.5);
}
/* arbitrary values */
class="text-[#79697b] bg-[oklch(0.542_0.034_322.5)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4641 0.4140 0.4775); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #79697b calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- zinc-500#71717B
- v3 zinc-500#71717A
- v3 gray-500#6B7280
- gray-500#6A7282
- neutral-500#737373
- taupe-500#7C6D67
- v3 stone-500#78716C
- stone-500#79716B
Lighter and darker, same hue and chroma
- #8B7A8D · oklch(0.602 0.034 322.5) · ΔL +0.06
- #68586A · oklch(0.482 0.034 322.5) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?