#d272fe
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 | #d272fe | |
| RGB | rgb(210 114 254) | |
| HSL | hsl(281.14 98.59% 72.16%) | |
| OKLCH | oklch(0.72 0.21 313.96) | |
| CMYK | cmyk(17.32% 55.12% 0% 0.39%) | |
| Android | #ffd272fe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.77:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.57: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="#d272fe"
Gradient stop
<stop stop-color="#d272fe"/>
CSS variable + fill
:root { --c: #d272fe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d272fe; background-color: #d272fe; bg-[#d272fe]