HEX naar HSL: #FDF4FF

Ook bekend als: Tailwind fuchsia-50, Tailwind v3 fuchsia-50

Resultaat

#FDF4FF → hsl(289 100% 98%)

Waarden staan op volle precisie, dus terugrekenen geeft exact #fdf4ff. De afgeronde vorm plak je gewoonlijk in CSS.

Stap-voor-stap berekening

Elk getal wordt uit de invoer berekend, er wordt niets opgezocht.

  1. 1. RGB ÷ 255

    R = 0.9922
    G = 0.9569
    B = 1.0000
  2. 2. max, min, Δ

    max = 1.0000
    min = 0.9569
    Δ = max − min = 0.0431
  3. 3. L

    L = (max + min) / 2 = 0.9784 = 97.84%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
  5. 5. H

    max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.9922 − 0.9569) / 0.0431 + 4) = 289.09°
  6. 6. HSL

    hsl(289.09 100.00% 97.84%)

Alle formaten

HEX
#fdf4ff
RGB
rgb(253 244 255)
RGB (legacy)
rgb(253, 244, 255)
HSL
hsl(289.09 100.00% 97.84%) → hsl(289 100% 98%)
HWB
hwb(289 96% 0%)
OKLCH
oklch(0.977 0.017 320.1) · oklch(97.7% 0.017 320.1)
OKLab
oklab(0.977 0.013 -0.011)
Lab (D50)
lab(97.13 4.55 -4.17)
LCH (D50)
lch(97.13 6.17 317.47)
Display P3
color(display-p3 0.9860 0.9581 0.9968)
Linear sRGB
color(srgb-linear 0.9823 0.9047 1.0000)

Gamut: sRGB en Display P3

#FDF4FF is een hexkleur en ligt dus binnen sRGB en daarmee binnen Display P3. Bij deze helderheid en tint haalt sRGB een chroma van 0.017 en Display P3 van 0.019; deze kleur gebruikt 100% van de beschikbare sRGB-chroma.

CSS-snippets

.element {
  color: #fdf4ff;
  color: rgb(253 244 255);
  color: hsl(289 100% 98%);
  color: oklch(0.977 0.017 320.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.977 0.017 320.1);
}
/* arbitrary values */
class="text-[#fdf4ff] bg-[oklch(0.977_0.017_320.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9860 0.9581 0.9968); }
}

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

Kleuren in de buurt

Dichtstbijzijnde kleuren in de Tailwind- en CSS-paletten (OKLab-afstand).

Lichter en donkerder, dezelfde tint en chroma

  • #FFFCFF · oklch(1.000 0.017 320.1) · ΔL +0.06
  • #E9E0EB · oklch(0.917 0.017 320.1) · ΔL −0.06

Openen in de studio

Andere converters voor deze kleur

Alle converters →