HEX to HSL: #F6CFFF
Also known as: Tailwind fuchsia-200
Result
#F6CFFF → hsl(289 100% 91%)
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. RGB ÷ 255
R = 0.9647 G = 0.8118 B = 1.0000
2. max, min, Δ
max = 1.0000 min = 0.8118 Δ = max − min = 0.1882
3. L
L = (max + min) / 2 = 0.9059 = 90.59%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.9647 − 0.8118) / 0.1882 + 4) = 288.75°
6. HSL
hsl(288.75 100.00% 90.59%)
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).
- v3 fuchsia-200#F5D0FE
- purple-200#E9D4FF
- v3 purple-200#E9D5FF
- pink-200#FCCEE8
- v3 pink-200#FBCFE8
- violet-200#DDD6FF
- v3 violet-200#DDD6FE
- rose-200#FFCCD3
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
Guides: What is OKLCH?