HSL to HEX: #F6CFFF

Also known as: Tailwind fuchsia-200

Result

hsl(288.75 100.00% 90.59%) → #F6CFFF

Values are shown at full precision, so converting back gives exactly #f6cfff. 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.75°, S = 100.00%, L = 90.59%
  2. 2. C

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

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

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

    (R′, G′, B′) = (0.15291, 0.00000, 0.18820)
    R = round((0.15291 + 0.81180) × 255) = 246
    G = round((0.00000 + 0.81180) × 255) = 207
    B = round((0.18820 + 0.81180) × 255) = 255
  6. 6. RGB → HEX

    #F6CFFF

All formats

HEX
#f6cfff
RGB
rgb(246 207 255)
RGB (legacy)
rgb(246, 207, 255)
HSL
hsl(288.75 100.00% 90.59%) → hsl(289 100% 91%)
HWB
hwb(289 81% 0%)
OKLCH
oklch(0.902 0.077 319.9) · oklch(90.2% 0.077 319.9)
OKLab
oklab(0.902 0.059 -0.049)
Lab (D50)
lab(87.63 20.24 -18.24)
LCH (D50)
lch(87.63 27.25 317.97)
Display P3
color(display-p3 0.9399 0.8175 0.9873)
Linear sRGB
color(srgb-linear 0.9216 0.6240 1.0000)

Gamut: sRGB and Display P3

#F6CFFF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.077 and Display P3 reaches 0.085; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #f6cfff;
  color: rgb(246 207 255);
  color: hsl(289 100% 91%);
  color: oklch(0.902 0.077 319.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.902 0.077 319.9);
}
/* arbitrary values */
class="text-[#f6cfff] bg-[oklch(0.902_0.077_319.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9399 0.8175 0.9873); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #f6cfff 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

  • #FFE3FF · oklch(0.962 0.077 319.9) · ΔL +0.06
  • #E2BCEB · oklch(0.842 0.077 319.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?