OKLCH to HEX: #F6CFFF

Also known as: Tailwind fuchsia-200

Result

oklch(0.90238 0.07663 319.914) → #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. 1. input

    oklch(0.90238 0.07663 319.914)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.05863
    b = C·sin H = -0.04934
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.914968
    m′ = L − 0.1056·a − 0.0639·b = 0.899342
    s′ = L − 0.0895·a − 1.2915·b = 0.960862
  4. 4. cube

    l = 0.914968³ = 0.765980
    m = 0.899342³ = 0.727402
    s = 0.960862³ = 0.887121
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.921563
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.623954
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.999979
  6. 6. linear → sRGB, × 255

    R = 0.96470 × 255 = 246.00 → 246
    G = 0.81176 × 255 = 207.00 → 207
    B = 0.99999 × 255 = 255.00 → 255
  7. 7. RGB → HEX

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

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?