HEX in HSL: #A89EA9
Auch bekannt als: Tailwind mauve-400
Ergebnis
#A89EA9 → hsl(295 6% 64%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a89ea9. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.6588 G = 0.6196 B = 0.6627
2. max, min, Δ
max = 0.6627 min = 0.6196 Δ = max − min = 0.0431
3. L
L = (max + min) / 2 = 0.6412 = 64.12%
4. S
S = Δ / (1 − |2L − 1|) = 0.0601 = 6.01%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.6588 − 0.6196) / 0.0431 + 4) = 294.55°
6. HSL
hsl(294.55 6.01% 64.12%)
Alle Formate
- HEX
- #a89ea9
- RGB
- rgb(168 158 169)
- RGB (legacy)
- rgb(168, 158, 169)
- HSL
- hsl(294.55 6.01% 64.12%) → hsl(295 6% 64%)
- HWB
- hwb(295 62% 34%)
- OKLCH
- oklch(0.711 0.019 323.0) · oklch(71.1% 0.019 323.0)
- OKLab
- oklab(0.711 0.016 -0.012)
- Lab (D50)
- lab(66.24 5.30 -4.36)
- LCH (D50)
- lch(66.24 6.87 320.52)
- Display P3
- color(display-p3 0.6521 0.6210 0.6597)
- Linear sRGB
- color(srgb-linear 0.3916 0.3419 0.3968)
Gamut: sRGB und Display P3
#A89EA9 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.267, Display P3 von 0.292; diese Farbe nutzt 7 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #a89ea9;
color: rgb(168 158 169);
color: hsl(295 6% 64%);
color: oklch(0.711 0.019 323.0);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.711 0.019 323.0);
}
/* arbitrary values */
class="text-[#a89ea9] bg-[oklch(0.711_0.019_323.0)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6521 0.6210 0.6597); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a89ea9 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 zinc-400#A1A1AA
- zinc-400#9F9FA9
- neutral-400#A1A1A1
- v3 neutral-400#A3A3A3
- v3 gray-400#9CA3AF
- taupe-400#ABA09C
- gray-400#99A1AF
- v3 stone-400#A8A29E
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #BBB1BC · oklch(0.771 0.019 323.0) · ΔL +0.06
- #968C97 · oklch(0.651 0.019 323.0) · ΔL −0.06