HEX to HSL: #F5D0FE
Also known as: Tailwind v3 fuchsia-200
Result
#F5D0FE → hsl(288 96% 91%)
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. RGB ÷ 255
R = 0.9608 G = 0.8157 B = 0.9961
2. max, min, Δ
max = 0.9961 min = 0.8157 Δ = max − min = 0.1804
3. L
L = (max + min) / 2 = 0.9059 = 90.59%
4. S
S = Δ / (1 − |2L − 1|) = 0.9583 = 95.83%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.9608 − 0.8157) / 0.1804 + 4) = 288.26°
6. HSL
hsl(288.26 95.83% 90.59%)
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).
- fuchsia-200#F6CFFF
- 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
- #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
Guides: What is OKLCH?