HEX to RGB: #86198F

Also known as: Tailwind v3 fuchsia-800

Result

#86198F → rgb(134 25 143)

Values are shown at full precision, so converting back gives exactly #86198f. 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

    #86198F → 86 | 19 | 8F
  2. 2. base 16 → base 10

    R = 86₁₆ = 8×16 + 6 = 134
    G = 19₁₆ = 1×16 + 9 = 25
    B = 8F₁₆ = 8×16 + 15 = 143
  3. 3. RGB

    rgb(134 25 143)

All formats

HEX
#86198f
RGB
rgb(134 25 143)
RGB (legacy)
rgb(134, 25, 143)
HSL
hsl(295.42 70.24% 32.94%) → hsl(295 70% 33%)
HWB
hwb(295 10% 44%)
OKLCH
oklch(0.452 0.192 324.6) · oklch(45.2% 0.192 324.6)
OKLab
oklab(0.452 0.157 -0.111)
Lab (D50)
lab(33.28 54.70 -39.82)
LCH (D50)
lch(33.28 67.66 323.94)
Display P3
color(display-p3 0.4820 0.1396 0.5419)
Linear sRGB
color(srgb-linear 0.2384 0.0097 0.2747)

Gamut: sRGB and Display P3

#86198F is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.212 and Display P3 reaches 0.230; this color uses 91% of the sRGB chroma available.

CSS snippets

.element {
  color: #86198f;
  color: rgb(134 25 143);
  color: hsl(295 70% 33%);
  color: oklch(0.452 0.192 324.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.452 0.192 324.6);
}
/* arbitrary values */
class="text-[#86198f] bg-[oklch(0.452_0.192_324.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4820 0.1396 0.5419); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #86198f 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

  • #9930A2 · oklch(0.512 0.192 324.6) · ΔL +0.06
  • #73007C · oklch(0.392 0.192 324.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?