RGB to HEX: #F6CFFF
Also known as: Tailwind fuchsia-200
Result
rgb(246 207 255) → #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. base 10 → base 16
R = 246 = 15×16 + 6 → F6 G = 207 = 12×16 + 15 → CF B = 255 = 15×16 + 15 → FF
2. pairs → HEX
F6 CF FF → #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).
- 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?