RGB to HEX: #86198F
Also known as: Tailwind v3 fuchsia-800
Result
rgb(134 25 143) → #86198F
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. base 10 → base 16
R = 134 = 8×16 + 6 → 86 G = 25 = 1×16 + 9 → 19 B = 143 = 8×16 + 15 → 8F
2. pairs → HEX
86 19 8F → #86198F
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).
- fuchsia-800#8A0194
- darkmagenta#8B008B
- purple#800080
- fuchsia-900#721378
- v3 fuchsia-900#701A75
- v3 purple-800#6B21A8
- rebeccapurple#663399
- v3 fuchsia-700#A21CAF
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
Guides: What is OKLCH?