HEX in HSL: #8A0194
Auch bekannt als: Tailwind fuchsia-800
Ergebnis
#8A0194 → hsl(296 99% 29%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #8a0194. 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.5412 G = 0.0039 B = 0.5804
2. max, min, Δ
max = 0.5804 min = 0.0039 Δ = max − min = 0.5765
3. L
L = (max + min) / 2 = 0.2922 = 29.22%
4. S
S = Δ / (1 − |2L − 1|) = 0.9866 = 98.66%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.5412 − 0.0039) / 0.5765 + 4) = 295.92°
6. HSL
hsl(295.92 98.66% 29.22%)
Alle Formate
- HEX
- #8a0194
- RGB
- rgb(138 1 148)
- RGB (legacy)
- rgb(138, 1, 148)
- HSL
- hsl(295.92 98.66% 29.22%) → hsl(296 99% 29%)
- HWB
- hwb(296 0% 42%)
- OKLCH
- oklch(0.452 0.211 324.7) · oklch(45.2% 0.211 324.7)
- OKLab
- oklab(0.452 0.172 -0.122)
- Lab (D50)
- lab(32.86 60.28 -43.51)
- LCH (D50)
- lch(32.86 74.34 324.17)
- Display P3
- color(display-p3 0.4946 0.0913 0.5602)
- Linear sRGB
- color(srgb-linear 0.2542 0.0003 0.2961)
Gamut: sRGB und Display P3
#8A0194 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.211, Display P3 von 0.230; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #8a0194;
color: rgb(138 1 148);
color: hsl(296 99% 29%);
color: oklch(0.452 0.211 324.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.452 0.211 324.7);
}
/* arbitrary values */
class="text-[#8a0194] bg-[oklch(0.452_0.211_324.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4946 0.0913 0.5602); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #8a0194 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- darkmagenta#8B008B
- v3 fuchsia-800#86198F
- purple#800080
- fuchsia-900#721378
- v3 fuchsia-700#A21CAF
- v3 fuchsia-900#701A75
- v3 purple-800#6B21A8
- purple-800#6E11B0
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #9D25A7 · oklch(0.512 0.211 324.7) · ΔL +0.06
- #770081 · oklch(0.392 0.211 324.7) · ΔL −0.06