#ddb6fa
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 | #ddb6fa | |
| RGB | rgb(221 182 250) | |
| HSL | hsl(274.41 87.18% 84.71%) | |
| OKLCH | oklch(0.83 0.1 310.31) | |
| CMYK | cmyk(11.6% 27.2% 0% 1.96%) | |
| Android | #ffddb6fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.72:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.14: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="#ddb6fa"
Gradient stop
<stop stop-color="#ddb6fa"/>
CSS variable + fill
:root { --c: #ddb6fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ddb6fa; background-color: #ddb6fa; bg-[#ddb6fa]