HEX to RGB: #A3B3FF

Also known as: Tailwind indigo-300

Result

#A3B3FF → rgb(163 179 255)

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

    #A3B3FF → A3 | B3 | FF
  2. 2. base 16 → base 10

    R = A3₁₆ = 10×16 + 3 = 163
    G = B3₁₆ = 11×16 + 3 = 179
    B = FF₁₆ = 15×16 + 15 = 255
  3. 3. RGB

    rgb(163 179 255)

All formats

HEX
#a3b3ff
RGB
rgb(163 179 255)
RGB (legacy)
rgb(163, 179, 255)
HSL
hsl(229.57 100.00% 81.96%) → hsl(230 100% 82%)
HWB
hwb(230 64% 0%)
OKLCH
oklch(0.783 0.110 274.5) · oklch(78.3% 0.110 274.5)
OKLab
oklab(0.783 0.009 -0.110)
Lab (D50)
lab(73.89 7.83 -39.87)
LCH (D50)
lch(73.89 40.63 281.11)
Display P3
color(display-p3 0.6509 0.7000 0.9774)
Linear sRGB
color(srgb-linear 0.3663 0.4508 1.0000)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #a3b3ff;
  color: rgb(163 179 255);
  color: hsl(230 100% 82%);
  color: oklch(0.783 0.110 274.5);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.783 0.110 274.5);
}
/* arbitrary values */
class="text-[#a3b3ff] bg-[oklch(0.783_0.110_274.5)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6509 0.7000 0.9774); }
}

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

  • #B6C6FF · oklch(0.843 0.110 274.5) · ΔL +0.06
  • #91A0EB · oklch(0.723 0.110 274.5) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?