#dcc9fa
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #dcc9fa | |
| RGB | rgb(220 201 250) | |
| HSL | hsl(263.27 83.05% 88.43%) | |
| OKLCH | oklch(0.87 0.07 302.64) | |
| CMYK | cmyk(12% 19.6% 0% 1.96%) | |
| Android | #ffdcc9fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.77:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#dcc9fa"
Gradient stop
<stop stop-color="#dcc9fa"/>
CSS variable + fill
:root { --c: #dcc9fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dcc9fa; background-color: #dcc9fa; bg-[#dcc9fa]