HEX to HSL: #C800DE
Also known as: Tailwind fuchsia-600
Result
#C800DE → hsl(294 100% 44%)
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. RGB ÷ 255
R = 0.7843 G = 0.0000 B = 0.8706
2. max, min, Δ
max = 0.8706 min = 0.0000 Δ = max − min = 0.8706
3. L
L = (max + min) / 2 = 0.4353 = 43.53%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is B → H = 60° × ((R − G) / Δ + 4) = 60° × ((0.7843 − 0.0000) / 0.8706 + 4) = 294.05°
6. HSL
hsl(294.05 100.00% 43.53%)
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?