HSL to HEX: #F5D0FE

Also known as: Tailwind v3 fuchsia-200

Result

hsl(288.26 95.83% 90.59%) → #F5D0FE

Values are shown at full precision, so converting back gives exactly #f5d0fe. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. input

    H = 288.26°, S = 95.83%, L = 90.59%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.18035
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.14506   (H / 60° = 4.8043, sector 4)
  4. 4. m

    m = L − C / 2 = 0.81572
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.14506, 0.00000, 0.18035)
    R = round((0.14506 + 0.81572) × 255) = 245
    G = round((0.00000 + 0.81572) × 255) = 208
    B = round((0.18035 + 0.81572) × 255) = 254
  6. 6. RGB → HEX

    #F5D0FE

All formats

HEX
#f5d0fe
RGB
rgb(245 208 254)
RGB (legacy)
rgb(245, 208, 254)
HSL
hsl(288.26 95.83% 90.59%) → hsl(288 96% 91%)
HWB
hwb(288 82% 0%)
OKLCH
oklch(0.903 0.073 319.6) · oklch(90.3% 0.073 319.6)
OKLab
oklab(0.903 0.056 -0.047)
Lab (D50)
lab(87.75 19.26 -17.55)
LCH (D50)
lch(87.75 26.06 317.66)
Display P3
color(display-p3 0.9372 0.8211 0.9839)
Linear sRGB
color(srgb-linear 0.9131 0.6308 0.9911)

Gamut: sRGB and Display P3

#F5D0FE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.076 and Display P3 reaches 0.084; this color uses 97% of the sRGB chroma available.

CSS snippets

.element {
  color: #f5d0fe;
  color: rgb(245 208 254);
  color: hsl(288 96% 91%);
  color: oklch(0.903 0.073 319.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.903 0.073 319.6);
}
/* arbitrary values */
class="text-[#f5d0fe] bg-[oklch(0.903_0.073_319.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9372 0.8211 0.9839); }
}

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

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #FFE4FF · oklch(0.963 0.073 319.6) · ΔL +0.06
  • #E1BDEA · oklch(0.843 0.073 319.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?