OKLCH to HEX: #A3B3FF

Also known as: Tailwind indigo-300

Result

oklch(0.78327 0.11003 274.474) → #A3B3FF

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. input

    oklch(0.78327 0.11003 274.474)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.00858
    b = C·sin H = -0.10969
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.762999
    m′ = L − 0.1056·a − 0.0639·b = 0.789368
    s′ = L − 0.0895·a − 1.2915·b = 0.924171
  4. 4. cube

    l = 0.762999³ = 0.444194
    m = 0.789368³ = 0.491857
    s = 0.924171³ = 0.789327
  5. 5. LMS → linear sRGB

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

    R = 0.63921 × 255 = 163.00 → 163
    G = 0.70196 × 255 = 179.00 → 179
    B = 1.00000 × 255 = 255.00 → 255
  7. 7. RGB → HEX

    #A3B3FF

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?