HEX to RGB: #ED6AFF

Also known as: Tailwind fuchsia-400

Result

#ED6AFF → rgb(237 106 255)

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

    #ED6AFF → ED | 6A | FF
  2. 2. base 16 → base 10

    R = ED₁₆ = 14×16 + 13 = 237
    G = 6A₁₆ = 6×16 + 10 = 106
    B = FF₁₆ = 15×16 + 15 = 255
  3. 3. RGB

    rgb(237 106 255)

All formats

HEX
#ed6aff
RGB
rgb(237 106 255)
RGB (legacy)
rgb(237, 106, 255)
HSL
hsl(292.75 100.00% 70.78%) → hsl(293 100% 71%)
HWB
hwb(293 42% 0%)
OKLCH
oklch(0.738 0.237 322.7) · oklch(73.8% 0.237 322.7)
OKLab
oklab(0.738 0.188 -0.144)
Lab (D50)
lab(65.93 65.94 -51.60)
LCH (D50)
lch(65.93 83.73 321.96)
Display P3
color(display-p3 0.8662 0.4460 0.9711)
Linear sRGB
color(srgb-linear 0.8469 0.1441 1.0000)

Gamut: sRGB and Display P3

#ED6AFF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.237 and Display P3 reaches 0.260; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #ed6aff;
  color: rgb(237 106 255);
  color: hsl(293 100% 71%);
  color: oklch(0.738 0.237 322.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.738 0.237 322.7);
}
/* arbitrary values */
class="text-[#ed6aff] bg-[oklch(0.738_0.237_322.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8662 0.4460 0.9711); }
}

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

  • #FF7EFF · oklch(0.798 0.237 322.7) · ΔL +0.06
  • #D855EA · oklch(0.678 0.237 322.7) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?