HSL to HEX: #A3B3FF
Also known as: Tailwind indigo-300
Result
hsl(229.57 100.00% 81.96%) → #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. input
H = 229.57°, S = 100.00%, L = 81.96%
2. C
C = (1 − |2L − 1|) × S = 0.36080
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.06272 (H / 60° = 3.8262, sector 3)
4. m
m = L − C / 2 = 0.63920
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.06272, 0.36080) R = round((0.00000 + 0.63920) × 255) = 163 G = round((0.06272 + 0.63920) × 255) = 179 B = round((0.36080 + 0.63920) × 255) = 255
6. 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).
- v3 indigo-300#A5B4FC
- violet-300#C4B4FF
- v3 violet-300#C4B5FD
- v3 blue-300#93C5FD
- blue-300#8EC5FF
- v3 purple-300#D8B4FE
- purple-300#DAB2FF
- lightsteelblue#B0C4DE
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
Guides: What is OKLCH?