HEX in OKLCH: #721378

Auch bekannt als: Tailwind fuchsia-900

Ergebnis

#721378 → oklch(0.401 0.170 325.4)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #721378. 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. 1. sRGB → linear

    R: 114/255 = 0.44706 → 0.168269  (((x + 0.055) / 1.055)^2.4)
    G: 19/255 = 0.07451 → 0.006512  (((x + 0.055) / 1.055)^2.4)
    B: 120/255 = 0.47059 → 0.187821  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.082520
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.060261
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.135016
  3. 3. cube root

    l′ = ∛0.082520 = 0.435364
    m′ = ∛0.060261 = 0.392054
    s′ = ∛0.135016 = 0.513013
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.40068
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.14017
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = -0.09670
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.17029
    H = atan2(b, a) = 325.401°
    L = 0.40068
  6. 6. OKLCH

    oklch(0.40068 0.17029 325.401)
    rounded: oklch(0.401 0.170 325.4)

Alle Formate

HEX
#721378
RGB
rgb(114 19 120)
RGB (legacy)
rgb(114, 19, 120)
HSL
hsl(296.44 72.66% 27.25%) → hsl(296 73% 27%)
HWB
hwb(296 7% 53%)
OKLCH
oklch(0.401 0.170 325.4) · oklch(40.1% 0.170 325.4)
OKLab
oklab(0.401 0.140 -0.097)
Lab (D50)
lab(27.71 48.65 -34.59)
LCH (D50)
lch(27.71 59.70 324.59)
Display P3
color(display-p3 0.4094 0.1114 0.4546)
Linear sRGB
color(srgb-linear 0.1683 0.0065 0.1878)

Gamut: sRGB und Display P3

#721378 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.187, Display P3 von 0.203; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #721378;
  color: rgb(114 19 120);
  color: hsl(296 73% 27%);
  color: oklch(0.401 0.170 325.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.401 0.170 325.4);
}
/* arbitrary values */
class="text-[#721378] bg-[oklch(0.401_0.170_325.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4094 0.1114 0.4546); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #721378 calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #852A8A · oklch(0.461 0.170 325.4) · ΔL +0.06
  • #600066 · oklch(0.341 0.170 325.4) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →