HSL to HEX: #C800DE
Also known as: Tailwind fuchsia-600
Result
hsl(294.05 100.00% 43.53%) → #C800DE
Values are shown at full precision, so converting back gives exactly #c800de. 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. input
H = 294.05°, S = 100.00%, L = 43.53%
2. C
C = (1 − |2L − 1|) × S = 0.87060
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.78427 (H / 60° = 4.9008, sector 4)
4. m
m = L − C / 2 = 0.00000
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.78427, 0.00000, 0.87060) R = round((0.78427 + 0.00000) × 255) = 200 G = round((0.00000 + 0.00000) × 255) = 0 B = round((0.87060 + 0.00000) × 255) = 222
6. RGB → HEX
#C800DE
All formats
- HEX
- #c800de
- RGB
- rgb(200 0 222)
- RGB (legacy)
- rgb(200, 0, 222)
- HSL
- hsl(294.05 100.00% 43.53%) → hsl(294 100% 44%)
- HWB
- hwb(294 0% 13%)
- OKLCH
- oklch(0.598 0.283 322.8) · oklch(59.8% 0.283 322.8)
- OKLab
- oklab(0.598 0.225 -0.171)
- Lab (D50)
- lab(48.61 80.33 -61.13)
- LCH (D50)
- lch(48.61 100.94 322.73)
- Display P3
- color(display-p3 0.7187 0.1481 0.8406)
- Linear sRGB
- color(srgb-linear 0.5776 0.0000 0.7305)
Gamut: sRGB and Display P3
#C800DE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.283 and Display P3 reaches 0.307; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #c800de;
color: rgb(200 0 222);
color: hsl(294 100% 44%);
color: oklch(0.598 0.283 322.8);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.598 0.283 322.8);
}
/* arbitrary values */
class="text-[#c800de] bg-[oklch(0.598_0.283_322.8)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.7187 0.1481 0.8406); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #c800de calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 fuchsia-600#C026D3
- fuchsia-500#E12AFB
- v3 fuchsia-500#D946EF
- fuchsia-700#A800B7
- mediumorchid#BA55D3
- purple-500#AD46FF
- darkorchid#9932CC
- v3 fuchsia-700#A21CAF
Lighter and darker, same hue and chroma
- #DD30F3 · oklch(0.658 0.283 322.8) · ΔL +0.06
- #B400CA · oklch(0.538 0.283 322.8) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?