HEX in RGB: #9810FA
Auch bekannt als: Tailwind purple-600
Ergebnis
#9810FA → rgb(152 16 250)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #9810fa. 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. HEX → pairs
#9810FA → 98 | 10 | FA
2. base 16 → base 10
R = 98₁₆ = 9×16 + 8 = 152 G = 10₁₆ = 1×16 + 0 = 16 B = FA₁₆ = 15×16 + 10 = 250
3. RGB
rgb(152 16 250)
Alle Formate
- HEX
- #9810fa
- RGB
- rgb(152 16 250)
- RGB (legacy)
- rgb(152, 16, 250)
- HSL
- hsl(274.87 95.90% 52.16%) → hsl(275 96% 52%)
- HWB
- hwb(275 6% 2%)
- OKLCH
- oklch(0.558 0.288 302.3) · oklch(55.8% 0.288 302.3)
- OKLab
- oklab(0.558 0.154 -0.243)
- Lab (D50)
- lab(42.99 75.11 -86.49)
- LCH (D50)
- lch(42.99 114.55 310.97)
- Display P3
- color(display-p3 0.5460 0.1305 0.9435)
- Linear sRGB
- color(srgb-linear 0.3140 0.0052 0.9560)
Gamut: sRGB und Display P3
#9810FA 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.294, Display P3 von 0.307; diese Farbe nutzt 98 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #9810fa;
color: rgb(152 16 250);
color: hsl(275 96% 52%);
color: oklch(0.558 0.288 302.3);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.558 0.288 302.3);
}
/* arbitrary values */
class="text-[#9810fa] bg-[oklch(0.558_0.288_302.3)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5460 0.1305 0.9435); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #9810fa calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 purple-600#9333EA
- blueviolet#8A2BE2
- violet-600#7F22FE
- v3 violet-600#7C3AED
- darkviolet#9400D3
- purple-700#8200DB
- purple-500#AD46FF
- violet-500#8E51FF
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #AA36FF · oklch(0.618 0.288 302.3) · ΔL +0.06
- #8600E5 · oklch(0.498 0.288 302.3) · ΔL −0.06