#d74bfa
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 | #d74bfa | |
| RGB | rgb(215 75 250) | |
| HSL | hsl(288 94.59% 63.73%) | |
| OKLCH | oklch(0.68 0.26 318.79) | |
| CMYK | cmyk(14% 70% 0% 1.96%) | |
| Android | #ffd74bfa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.34:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.27: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="#d74bfa"
Gradient stop
<stop stop-color="#d74bfa"/>
CSS variable + fill
:root { --c: #d74bfa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d74bfa; background-color: #d74bfa; bg-[#d74bfa]