HEX to RGB: #F6CFFF

Also known as: Tailwind fuchsia-200

Result

#F6CFFF → rgb(246 207 255)

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. 1. HEX → pairs

    #F6CFFF → F6 | CF | FF
  2. 2. base 16 → base 10

    R = F6₁₆ = 15×16 + 6 = 246
    G = CF₁₆ = 12×16 + 15 = 207
    B = FF₁₆ = 15×16 + 15 = 255
  3. 3. RGB

    rgb(246 207 255)

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).

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

All converters →

Guides: What is OKLCH?