HEX in HSL: #A800B7
Auch bekannt als: Tailwind fuchsia-700
Ergebnis
#A800B7 → hsl(295 100% 36%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #a800b7. 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.0000 B = 0.7176
2. max, min, Δ
max = 0.7176 min = 0.0000 Δ = max − min = 0.7176
3. L
L = (max + min) / 2 = 0.3588 = 35.88%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.6588 − 0.0000) / 0.7176 + 4) = 295.08°
6. HSL
hsl(295.08 100.00% 35.88%)
Alle Formate
- HEX
- #a800b7
- RGB
- rgb(168 0 183)
- RGB (legacy)
- rgb(168, 0, 183)
- HSL
- hsl(295.08 100.00% 35.88%) → hsl(295 100% 36%)
- HWB
- hwb(295 0% 28%)
- OKLCH
- oklch(0.523 0.246 323.8) · oklch(52.3% 0.246 323.8)
- OKLab
- oklab(0.523 0.199 -0.145)
- Lab (D50)
- lab(40.55 70.13 -51.86)
- LCH (D50)
- lch(40.55 87.22 323.52)
- Display P3
- color(display-p3 0.6030 0.1177 0.6928)
- Linear sRGB
- color(srgb-linear 0.3916 0.0000 0.4735)
Gamut: sRGB und Display P3
#A800B7 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.246, Display P3 von 0.267; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #a800b7;
color: rgb(168 0 183);
color: hsl(295 100% 36%);
color: oklch(0.523 0.246 323.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.523 0.246 323.8);
}
/* arbitrary values */
class="text-[#a800b7] bg-[oklch(0.523_0.246_323.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.6030 0.1177 0.6928); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #a800b7 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 fuchsia-700#A21CAF
- darkorchid#9932CC
- darkviolet#9400D3
- v3 fuchsia-600#C026D3
- fuchsia-800#8A0194
- fuchsia-600#C800DE
- darkmagenta#8B008B
- v3 fuchsia-800#86198F
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #BC2ACB · oklch(0.583 0.246 323.8) · ΔL +0.06
- #9400A3 · oklch(0.463 0.246 323.8) · ΔL −0.06