HSL in HEX: #A800B7
Auch bekannt als: Tailwind fuchsia-700
Ergebnis
hsl(295.08 100.00% 35.88%) → #A800B7
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. input
H = 295.08°, S = 100.00%, L = 35.88%
2. C
C = (1 − |2L − 1|) × S = 0.71760
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.65876 (H / 60° = 4.9180, sector 4)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.65876, 0.00000, 0.71760) R = round((0.65876 + 0.00000) × 255) = 168 G = round((0.00000 + 0.00000) × 255) = 0 B = round((0.71760 + 0.00000) × 255) = 183
6. RGB → HEX
#A800B7
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