#d27fdb
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 | #d27fdb | |
| RGB | rgb(210 127 219) | |
| HSL | hsl(294.13 56.1% 67.84%) | |
| OKLCH | oklch(0.72 0.16 323.46) | |
| CMYK | cmyk(4.11% 42.01% 0% 14.12%) | |
| Android | #ffd27fdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.69:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.79: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="#d27fdb"
Gradient stop
<stop stop-color="#d27fdb"/>
CSS variable + fill
:root { --c: #d27fdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d27fdb; background-color: #d27fdb; bg-[#d27fdb]