#d27eee
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 | #d27eee | |
| RGB | rgb(210 126 238) | |
| HSL | hsl(285 76.71% 71.37%) | |
| OKLCH | oklch(0.72 0.18 317.22) | |
| CMYK | cmyk(11.76% 47.06% 0% 6.67%) | |
| Android | #ffd27eee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.95: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="#d27eee"
Gradient stop
<stop stop-color="#d27eee"/>
CSS variable + fill
:root { --c: #d27eee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d27eee; background-color: #d27eee; bg-[#d27eee]