HEX to RGB: #DDD6FF
Also known as: Tailwind violet-200
Result
#DDD6FF → rgb(221 214 255)
Values are shown at full precision, so converting back gives exactly #ddd6ff. 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. HEX → pairs
#DDD6FF → DD | D6 | FF
2. base 16 → base 10
R = DD₁₆ = 13×16 + 13 = 221 G = D6₁₆ = 13×16 + 6 = 214 B = FF₁₆ = 15×16 + 15 = 255
3. RGB
rgb(221 214 255)
All formats
- HEX
- #ddd6ff
- RGB
- rgb(221 214 255)
- RGB (legacy)
- rgb(221, 214, 255)
- HSL
- hsl(250.24 100.00% 91.96%) → hsl(250 100% 92%)
- HWB
- hwb(250 84% 0%)
- OKLCH
- oklch(0.895 0.056 293.1) · oklch(89.5% 0.056 293.1)
- OKLab
- oklab(0.895 0.022 -0.052)
- Lab (D50)
- lab(87.17 8.35 -19.20)
- LCH (D50)
- lch(87.17 20.93 293.50)
- Display P3
- color(display-p3 0.8619 0.8401 0.9874)
- Linear sRGB
- color(srgb-linear 0.7231 0.6724 1.0000)
Gamut: sRGB and Display P3
#DDD6FF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.056 and Display P3 reaches 0.062; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #ddd6ff;
color: rgb(221 214 255);
color: hsl(250 100% 92%);
color: oklch(0.895 0.056 293.1);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.895 0.056 293.1);
}
/* arbitrary values */
class="text-[#ddd6ff] bg-[oklch(0.895_0.056_293.1)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8619 0.8401 0.9874); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ddd6ff calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 violet-200#DDD6FE
- v3 purple-200#E9D5FF
- purple-200#E9D4FF
- v3 indigo-200#C7D2FE
- indigo-200#C6D2FF
- v3 fuchsia-200#F5D0FE
- fuchsia-200#F6CFFF
- v3 blue-200#BFDBFE
Lighter and darker, same hue and chroma
- #F1EAFF · oklch(0.955 0.056 293.1) · ΔL +0.06
- #CAC3EB · oklch(0.835 0.056 293.1) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?